Defect #35242

Journals are not returned via API

Added by Alberto Sinigaglia about 1 year ago. Updated about 1 year ago.

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

0%

Category:Issues list
Target version:-
Resolution:Duplicate Affected version:3.2.2

Description

Hi,
I was reading your documentation (Rest_Issues) that says on the "GET /issues.[format]" under includes:
for full list see below
So I suppose the list is the one on the endpoint "GET /issues/[id].[format]", and so it includes "journals".

However, when I send a request to https://support.xxx.com/redmine/issues.json?key=####&include=journals,attachments&limit=100 I can see the "attachments" field, but not the "journals" field... what's going on?


Related issues

Related to Redmine - Patch #12746: Add include=journals support to issues REST api New

History

#1 Updated by Alberto Sinigaglia about 1 year ago

  • the version is 3.4+

#2 Updated by Holger Just about 1 year ago

  • Related to Patch #12746: Add include=journals support to issues REST api added

#3 Updated by Holger Just about 1 year ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

The include=journals parameter is only considered for single issues, e.g. /issues/123.json?include=journals.

We currently do not support to include the full journals in the issue list. If we would support this, this might result in incredibly long render or query times which might thus degrade the service for all users. See #12746 for a previous discussion of this.

#4 Updated by Mischa The Evil about 1 year ago

  • Description updated (diff)

FWIW: I've adjusted Rest_Issues to remove the ambiguity in the documentation.

Also available in: Atom PDF