プロジェクト

全般

プロフィール

Vote #74798

完了

Add information about whether an issue is open or closed to Issues API response

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
REST API_32
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
32
version_id:
155
issue_org_id:
15855
author_id:
56614
assigned_to_id:
332
comments:
8
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

When I get a list of issues I would like to know whether the issue is open or closed depending on the status. For example, an external application does not need to know specific statuses but just the open/closed information. According to a feature to filter issues by "open" or "closed" status I don't think it is difficult to involve this information to the issue element.


journals

You can already get this information with [[Rest_IssueStatuses]], I don't see the point of returning it with @/issues@, REST result is not supposed to be directly manipulated by humans?
--------------------------------------------------------------------------------
I know I can get that information from Issue statuses, but I is necessary to make another request which is not effective. FYI I have an external system which retrieves all issues from Redmine (both open and closed) and I need to tell users their status.
--------------------------------------------------------------------------------
I made a patch to implement this improvement and posted it.
--------------------------------------------------------------------------------
I'll post a patch that also adds open or closed to 'allowed_statuses', which was added in #24976.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Setting the target version to 5.0.0.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed the patch. Thank you.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリREST API_32 にセット
  • 対象バージョン5.0.0_155 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0