プロジェクト

全般

プロフィール

Vote #79052

未完了

Add "%value_id%" option to "Link values to URL" for key/value list custom fields

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

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

0%

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

説明

Problem Description: Key/value list allows a list of items for selection. These item allow the name of the item to be changed while retaining the id of the item. When filtering on such an item, the id is used (in contrast to a normal list where the name is used). However, when the 'Link values to URL' option is used, the @%value%@ expands to the name of the entry. This prevents use of the 'Link values to URL' as a pre-defined filter on the item.

Solution: Modify 'Link values to URL' to support a new value @%value_id%@ which expands to the id of the item.

Examples:
For Custom key/value list "IT System":

  • id=3 name="Mail server"
  • id=4 name="Database server"

Link values to URL:

Items


journals

+1 no way to make the field clickable, like "target version".

Suggest also "key_id" for the name of the variable.
--------------------------------------------------------------------------------
It would be great if this worked for multiple regex matches (I'm not talking groups) translating them into multiple links.

--------------------------------------------------------------------------------
I think the suggested "%value_id%" is only useful in very limited situations because admins cannot assign any id number they want to a value.
--------------------------------------------------------------------------------

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

  • カテゴリCustom fields_14 にセット

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

いいね!0
いいね!0