Project

General

Profile

Actions

Feature #10914

closed

Include is_private setting in xml/json output

Feature #10914: Include is_private setting in xml/json output

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

Status:
Closed
Priority:
Normal
Category:
REST API
Target version:
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 4 (0 open — 4 closed)

Related to Redmine - Feature #8577: "Private" column and filter on the issue listClosedJean-Philippe LangActions
Related to Redmine - Defect #10870: Private bugs are accessible via the APIClosedActions
Has duplicate Redmine - Feature #16180: Expose Public/Private via APIClosedActions
Has duplicate Redmine - Feature #8353: [REST] privacy information on issue displayingClosedActions

Updated by Ingo Linde over 14 years ago Actions #1

+1

Also, can be seen as related to #8577.

Updated by Cory Riddell almost 14 years ago Actions #2

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

Updated by d okumura about 13 years ago Actions #3

+1
Seems to relate with #10870

Updated by Toshi MARUYAMA about 13 years ago Actions #4

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

Updated by Toshi MARUYAMA about 13 years ago Actions #5

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

Updated by Benoit Duffez over 12 years ago Actions #6

+1

Updated by Wojciech Brzeziński over 12 years ago Actions #7

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

Updated by Wojciech Brzeziński over 12 years ago Actions #8

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.

Updated by Jean-Philippe Lang over 12 years ago Actions #9

  • Target version set to 2.6.0

Updated by Shivam Daryanani about 12 years ago Actions #10

Uploaded a patch to provide this feature.

Updated by Jean-Philippe Lang about 12 years ago Actions #11

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

Feature added in r13395, thanks.

Updated by Go MAEDA almost 10 years ago Actions #12

Updated by Go MAEDA almost 10 years ago Actions #13

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

Also available in: PDF Atom