REST web service call to get specified issues in CSV format with a specified set of columns, including description
Added by Scott Hueseman about 7 years ago
Hi,
I am trying do a REST query to redmine for a set of issues, and receive a CSV of the results with certain columns. I am 95% of the way there, however I can't figure out how to get the Issue description field. All the other fields come out, but not description. I am passing a set_filter query parameter, then a list of c[] parameters for each field I want. Everything comes back except for "description". I tried to debug (via chrome dev tools) my local redmine site when you include show description in an issues list and click the CSV link in the lower right, but I wasn't able to figure out what was happening after the dialog comes up.
Here is my query:
issues.csv?limit=100&project_id=107&tracker_id=1&status_id=*&updated_on=%3E%3C2015-11-02|2017-11-02&include=relations&
set_filter=1&c%5B%5D=tracker&c%5B%5D=status&c%5B%5D=priority&c%5B%5D=subject&
c%5B%5D=done_ratio&c%5B%5D=cf_21&c%5B%5D=cf_22&c%5B%5D=estimated_hours&c%5B%5D=relations&c%5B%5D=description
Any ideas how I can get description with this query? The rest works. My fallback is to do an xml query for the same set of issues and just stitch it together in the resulting CSV file. I did try consulting the API documentation page, but couldn't find the answer.
Thanks
EDIT: Added some linebreaks in the query for readability.
We are running version 3.2.1. It may be an issue with our version.
Replies (2)
RE: REST web service call to get specified issues in CSV format with a specified set of columns, including description - Added by Tatsuya Saito about 7 years ago
Redmine 3.4.x can export CSV issues with description. Before 3.3.x, My result is same (without description).
RE: REST web service call to get specified issues in CSV format with a specified set of columns, including description - Added by Scott Hueseman about 7 years ago
Thanks for the response, I added the version number to the original post (3.2.1).