Defect #29268

Can't include attachments or relations with Issues API

Added by César DJ Caësar 9114 about 4 years ago. Updated about 4 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:REST API
Target version:-
Resolution: Affected version:3.4.2


When I make an API call to get all the trackers of a certain tracker_id including the relations, it doesn't work.
I use:


I just have the content of the issues, as if I didn't put "&include=relations"

However, it works when I call

/issues/[number of issue].json?include=relations,attachments

It seems to have a problem fetching issues with includes and parameters.

Here is the info:

  • database manager version: Mysql2
  • Ruby version: 2.4.1-p111 (2017-03-22) [x86_64-linux]
  • Rails version: 4.2.8
  • Redmine version: 3.4.2 stable

Thanks for the help.

Also available in: Atom PDF