プロジェクト

全般

プロフィール

Defect #1326

完了

ref_issues with custom fields not working

Daniel Wagner さんがほぼ10年前に追加. 8年以上前に更新.

ステータス:
終了(Closed)
優先度:
通常(Normal)
カテゴリ:
-
対象バージョン:
-
開始日:
2014/05/22
期日:
進捗率:

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.


ファイル

picture486-1.png (2.66 KB) picture486-1.png Daniel Wagner, 2014/05/22 22:23

関連するチケット 1 (0件未完了1件完了)

関連している Wiki Lists - Defect #1386: failed add_filter parent_id終了(Closed)Fernando Rech2015/07/09

操作

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.

Tomohisa Kusukawa さんがほぼ10年前に更新

  • 対象バージョン を削除 (0.0.4)

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 さんが9年以上前に更新

I can't understand. Is this not works?

{{ref_issues(-s=sorting,subject,assigned_to,status,-f:parent_id=24127)}}

Redmine Shows:

Tomohisa Kusukawa さんが9年以上前に更新

  • 担当者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

Tomohisa Kusukawa さんが8年以上前に更新

  • 関連している Defect #1386: failed add_filter parent_id を追加

Tomohisa Kusukawa さんが8年以上前に更新

  • ステータスフィードバック(Reopend) から 終了(Closed) に変更

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