Project

General

Profile

Actions

Feature #10914

closed

Include is_private setting in xml/json output

Added by Cory Riddell over 12 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Category:
REST API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

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

I've solved the problem on my local copy by modifying two files:

  • views/issues/show.api.rsb
    • add
      api.is_private @issue.is_private
  • views/issues/index.api.rsb
    • add
      api.is_private issue.is_private

Files

Adds-issue-is_private-to-api.diff (2.43 KB) Adds-issue-is_private-to-api.diff Git patch series Shivam Daryanani, 2014-08-20 21:04

Related issues

Related to Redmine - Feature #8577: "Private" column and filter on the issue listClosedJean-Philippe Lang2011-06-09

Actions
Related to Redmine - Defect #10870: Private bugs are accessible via the APIClosed

Actions
Has duplicate Redmine - Feature #16180: Expose Public/Private via APIClosed

Actions
Has duplicate Redmine - Feature #8353: [REST] privacy information on issue displayingClosed2011-05-12

Actions
Actions

Also available in: Atom PDF