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 #1

Updated by Ingo Linde over 12 years ago

+1

Also, can be seen as related to #8577.

Actions #2

Updated by Cory Riddell over 11 years ago

#8577 fixes the issue for the issue list, but does not address the problem with including the is_private flag in the json / xml output.

Actions #3

Updated by d okumura about 11 years ago

+1
Seems to relate with #10870

Actions #4

Updated by Toshi MARUYAMA about 11 years ago

  • Related to Feature #8577: "Private" column and filter on the issue list added
Actions #5

Updated by Toshi MARUYAMA about 11 years ago

  • Related to Defect #10870: Private bugs are accessible via the API added
Actions #6

Updated by Benoit Duffez over 10 years ago

+1

Actions #7

Updated by Wojciech Brzeziński over 10 years ago

+1
If we have this really simple solution, why it is not included in current realase?

Actions #8

Updated by Wojciech Brzeziński over 10 years ago

I would also suggest change this issue track to 'Bug', 'Defect' or something similar, because we can modify this field with PUT request. All Issues obtained with REST api seems to be not private now.

Actions #9

Updated by Jean-Philippe Lang over 10 years ago

  • Target version set to 2.6.0
Actions #10

Updated by Shivam Daryanani about 10 years ago

Uploaded a patch to provide this feature.

Actions #11

Updated by Jean-Philippe Lang about 10 years ago

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

Feature added in r13395, thanks.

Actions #12

Updated by Go MAEDA almost 8 years ago

Actions #13

Updated by Go MAEDA almost 8 years ago

  • Has duplicate Feature #8353: [REST] privacy information on issue displaying added
Actions

Also available in: Atom PDF