Feature #20985

Include private_notes property in xml/json Journals output

Added by Tiago Cândido about 2 years ago. Updated over 1 year ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:REST API
Target version:3.3.0
Resolution:Fixed

Description

When getting issues with the REST api, the journal flag private_notes isn't included.

I've solved the problem on my local copy by modifying one files:
  • views/issues/show.api.rsb
  • add
api.private_notes journal.private_notes

adds_issue_journal_private_notes_to_api.diff Magnifier - Git patch (795 Bytes) Tiago Cândido, 2015-10-14 00:44

adds_issue_journal_private_notes_to_api_trunk_r15327.patch Magnifier (1.67 KB) Takenori TAKAKI, 2016-04-12 05:01

Associated revisions

Revision 15414
Added by Jean-Philippe Lang over 1 year ago

Include private_notes property in xml/json Journals output (#20985).

Patch by Takenori TAKAKI.

History

#1 Updated by eric c almost 2 years ago

When is this fix available in a Redmine release?

#2 Updated by Go MAEDA over 1 year ago

  • Target version set to Candidate for next major release

#3 Updated by Takenori TAKAKI over 1 year ago

I have added the test-code on Tiago Cândido 's patch: adds_issue_journal_private_notes_to_api.diff
and I made sure that all tests passed on latest trunk (r15327).
I would be very happy if I could see the feature in Redmine 3.3.0.

#4 Updated by Toshi MARUYAMA over 1 year ago

  • Target version changed from Candidate for next major release to 3.3.0

#5 Updated by Jean-Philippe Lang over 1 year ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Committed, thanks.

Also available in: Atom PDF