Project

General

Profile

Actions

Defect #35242

closed

Journals are not returned via API

Added by Alberto Sinigaglia over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues list
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

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 apiNew

Actions
Actions #1

Updated by Alberto Sinigaglia over 3 years ago

  • the version is 3.4+
Actions #2

Updated by Holger Just over 3 years ago

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

Updated by Holger Just over 3 years 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.

Actions #4

Updated by Mischa The Evil over 3 years ago

  • Description updated (diff)

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

Actions

Also available in: Atom PDF