Patch #18681

Issue list api : journals, watchers

Added by Jérôme BATAILLE about 7 years ago. Updated almost 5 years ago.

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

0%

Category:REST API
Target version:-

Description

Lien in the issue detail api

RM_18681_issues_list_api_with_journals_relations_RM_V2.6.1.diff Magnifier (1.51 KB) Jérôme BATAILLE, 2014-12-18 17:07

RM_18681_issues_list_api_-_journals_watchers_RM_V2.6.1.diff Magnifier (2.77 KB) Jérôme BATAILLE, 2015-03-23 18:15

History

#2 Updated by Lucile Quirion almost 7 years ago

Hello,

Your patch doesn't apply to redmine-core but to a plugin: redmine_smile

watchers and journals are already available per issues via the request

GET /issues/[id].[format]?include=journals,watchers

Can you describe why do you want to add this feature ?

Here is the wiki's documentation
Rest_Issues
Rest_IssueJournals

#3 Updated by Jérôme BATAILLE almost 7 years ago

Lucile Quirion wrote:

Hello,

Your patch doesn't apply to redmine-core but to a plugin: redmine_smile

You're right I will provide a patch for redmine soon.

Can you describe why do you want to add this feature ?

Our aim is simple : get the journals and watchers of a list of issues, without to have to do a request by issue.

Here is the wiki's documentation
Rest_Issues
Rest_IssueJournals

#4 Updated by Jérôme BATAILLE almost 7 years ago

Here is a correct patch, with a bug fix about restricting private notes.

Can you take a look to it ?

Thanks in advance.

#5 Updated by Jérôme BATAILLE about 5 years ago

Hi, can you take a look at this simple patch ?

#6 Updated by Toshi MARUYAMA almost 5 years ago

Could you add tests?

#7 Updated by Jérôme BATAILLE almost 5 years ago

Hi Toshi, yes, I will do that.

Also available in: Atom PDF