Defect #1326
完了ref_issues with custom fields not working
0%
説明
Hello,
if I specify a custom field filter as follows {{ref_issues(-p=project,-f:cf_6=REQ_001)}}
, I get attached error message. I've already checked that the custom field Id I want to use is 6 for sure.
ファイル
Tomohisa Kusukawa さんがほぼ10年前に更新
- ステータス を 新規(New) から フィードバック(Reopend) に変更
- 担当者 を Daniel Wagner にセット
- 対象バージョン を 0.0.4 にセット
I'm sorry reply too late.
I found that custom field filtering works with the custom query.
e.g.
{{ref_issues(-i=2,-f:cf_3=hoge)}}
"2": custom query id.
You can check this ID in the URL when you select a custom query.
"3": custom field id.
You can check the ID in the URL of the Administration page of custom fields.
Daniel Wagner さんがほぼ10年前に更新
Hi,
I tested the workaround with -i option and using a custom query, which medicore success - it doesn't work reliable here.
But I found out that if in the settings of the custom field the checkbox "for all projects" is active, then it ref_issues works as documented, i.e. I can use
{{ref_issues(-p=toolbox,-f:cf_6=bla)}}
If the checkbox isn't active, and the custom field is activated for individual projects then it doesn't work.
Daniel Wagner さんがほぼ10年前に更新
I found out that ref_issues with -f and custom fields works in combination with -i, when the specified custom query is project specific and not marked as "For all projects".
Tomohisa Kusukawa さんがほぼ10年前に更新
I'm sorry for my insufficient description.
Did this resolve the issue?
Alexandre AlxChS さんがほぼ10年前に更新
I can't understand. Is this not works?
{{ref_issues(-s=sorting,subject,assigned_to,status,-f:parent_id=24127)}}
Redmine Shows:
Tomohisa Kusukawa さんがほぼ10年前に更新
- 担当者 を Daniel Wagner から Tomohisa Kusukawa に変更
parent_id can not be used as a filter.
The following seems to be available as a filtere in redmine2.5.2.
status_id, project_id, tracker_id, priority_id, author_id,
assigned_to_id, assigned_to_role, subject, created_on, updated_on,
closed_on, start_date, due_date, estimated_hours, done_ratio,
is_private, watcher_id, relates, duplicates, duplicated,
blocks, blocked, precedes, follows, copied_to,
copied_from, description, subjectdescription