Project

General

Profile

Actions

Patch #12746

open

Add include=journals support to issues REST api

Added by Derek Slone-Zhen over 11 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:

Description

To see what has changed on an issue it seems necessary to obtain the history of journal objects that are associated with the issue. I was trying to do this through the REST API and discovered that I could get the journals for a SINGLE issue by adding "include=journals" as a query argument, but that it appeared to be ignored when used on the issues index. I coded my way around this client side by requesting each issue individually to get around this, but it seemed inefficient. So, attached is a patch that will add this functionality into app/views/issues/index.api.rsb.

This was made against svn+ssh://rubyforge.org/var/svn/redmine/trunk@11110

This is my first Open Source contribution and my first venture into Ruby and Rails - I'm open to polite coaching if required!


Files


Related issues

Related to Redmine - Defect #35242: Journals are not returned via APIClosed

Actions
Actions

Also available in: Atom PDF