Project

General

Profile

Actions

Defect #29268

open

Can't include attachments or relations with Issues API

Added by César DJ Caësar 9114 over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Hello,
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:

/issues.json?tracker_id=XXX&include=relations

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.
César

No data to display

Actions

Also available in: Atom PDF