We're updating our terminology in Jira

'Issue' is changing to 'work item'. You might notice some inconsistencies while this big change takes place.

JQL のプラン機能からカスタム フィールドを検索する

You can use Jira Query Language (JQL) to search for work items with custom work item fields used in your plan. You can search for

  • Parent link

  • 子の作業項目

  • チーム フィールド

  • 目標開始日または目標終了日

To search for child work items of a work item in your plan using the work item’s Parent Link:

構文

"Parent Link"

エイリアス

cf[CustomFieldID]

フィールド タイプ

親リンクの関係性

オートコンプリート

いいえ

サポートされる演算子

IS,IS NOT,=,!=,IN,NOT IN

サポートされない演算子

~,!~,>,>=,<,<=
WAS,WAS IN,WAS NOT,WAS NOT IN,CHANGED

サポート対象のキーワード

EMPTY

  • Get the list of child work items from parent work items: 

    "Parent Link" = EX-001
  • Get the child work items from multiple Parent Links: 

    "Parent Link" IN (EX-000, EX-001, EX-002, EX-003)
  • Find all work items with no Parent Link:

    "Parent Link" IS EMPTY
  • Find all work items that have either EX-001 set as a parent or don't have a parent.

    "Parent Link" IN (EX-001, EMPTY)
  • Get the child work items from multiple Parent Links:

    "Parent Link" IN (EX-000, EX-001, EX-002, EX-003)

子の作業項目

To search for child work items of a work item:

構文

portfolioChildworkitemssOf("work item key")

フィールド タイプ

JQL function returning work item keys

オートコンプリート

いいえ

サポートされる演算子

IS,IS NOT,=,!=,IN,NOT IN

サポートされない演算子

~,!~,>,>=,<,<=
WAS,WAS IN,WAS NOT,WAS NOT IN,CHANGED

サポート対象のキーワード

EMPTY

  • To get all child work items below INIT-00 and not just the child work items at the epic hierarchy level:

    workitemkey in portfolioChildworkitemsOf("INIT-001")
  • if you want to return just the story-level work items: 

    workitemkey in portfolioChildworkitemsOf("INIT-001") AND workType = Story
  • If needed, you can skip returning work items of the hierarchy levels you don't need:

    workitemkey in portfolioChildworkitemsOf("INIT-001") AND workType != Epic.

チーム フィールド

To search for work items, including subtasks, using the Team custom field:

構文

"Team"

エイリアス

"Team[Team]" cf[CustomFieldID]

フィールド タイプ

チーム フィールド

オートコンプリート

はい

注: チーム名の入力候補から共有チームの名前を選択すると、クエリ内のチーム名が数値の ID で置き換えられます。次に例を示します。

"Team" = MyTeam → "Team" = 3

サポートされる演算子

IS,IS NOT,=,!=,IN,NOT IN

サポートされない演算子

~,!~,>,>=,<,<=
WAS,WAS IN,WAS NOT,WAS NOT IN,CHANGED

サポート対象のキーワード

EMPTY

  • Get the list of work items assigned to a team:

    "Team" = "shared team name"
    • Get the list of work items assigned to any set of teams type: 

      "Team" IN ("Shared team 1", "Shared team 2", "Shared team 3")
    • Find all work items in the "iOS app development" project that don't have a team assigned:

      project = iOS app development and "Team" IS EMPTY
    • チームに割り当てられていない、"IOS-76" エピックに所属するすべてのストーリーを検索: 

      workitemKey = IOS-76 and "Team" IS EMPTY
    • Find all work items with no team assigned:

      "Team" IS EMPTY

目標開始日または目標終了日

To search for work items based on their target start or end date:

構文

"Target start" /or/ "Target end"

エイリアス

cf[CustomFieldID]

フィールド タイプ

目標期日フィールド

オートコンプリート

はい

注: 入力候補リストには、関数名がユーザー指定のテキストと一致する日付/時刻値を返す JQL 関数が含まれています。次に例を示します。

"Target start" = end → endOfDay(), endOfMonth(), endOfWeek(), endOfYear()

サポートされる演算子

=, !=, NOT IN, IN, IS NOT, IS, >, >=, <, <=

サポートされない演算子

~,!~,>,>=,<,<=
WAS,WAS IN,WAS NOT,WAS NOT IN,CHANGED

サポート対象のキーワード

EMPTY

  • Find all work items with target start after 2 Jan 2020:

"Target start" >= "2020-01-02"
  • Find all work items with target start before current timestamp:

"Target start" < now()
  • Find all work items with target end earlier than 5 days ago:

"Target end" <= -5d
  • Find all work items without a target end date:

"Target end" is not EMPTY

さらにヘルプが必要ですか?

アトラシアン コミュニティをご利用ください。