プロジェクト

全般

プロフィール

Vote #80935

未完了

Get possible_values of custom fields for non-admin users

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

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

0%

予定工数:
category_id:
32
version_id:
0
issue_org_id:
33648
author_id:
117439
assigned_to_id:
0
comments:
1
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

In #11159 support for getting the definition of custom fields was added to the API. This call is only available to admin users. Problem is for custom fields with List-Format (and I guess with KeyValuePairs), as a non-admin-user it's not possible to retrieve the "possible_values" or enumerate key-values.
I'm wondering if this could be added, maybe as an enhancement of #33301?


journals

I'm having this exact issue and it pretty much renders key/value pairs useless. My data exports only contain internal IDs, which are completely meaningless. Over the Web interface there is obviously a way to retrieve which value is hidden behind an intenal ID, but there's no way to retrieve this via the API.

What this means is that when I export data over the REST API, I only get arbitrary database IDs (which may change when reinstalling a new instance). The only workaround for now is to not use these field types or to have a hard mapping somewhere that just magically 'knows' what database IDs correspond to which field value (yuck!).

It would be greatly appreciated if there were a way to retrieve what the actual value is (just dump them in the journals would work! no additional call needed) so that no admin privileges are needed.
--------------------------------------------------------------------------------

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

  • カテゴリREST API_32 にセット

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

いいね!0
いいね!0