Jira Automation を使用して、親課題の概要がトリガーされたサブタスクの概要と一致するタスクを見つけるにはどうすればよいですか?
Jira Cloud で次のロジックを実行する Jira Automation ルールを構築しようとしています。
自動化ルールによってサブタスクがトリガーされたときに、親課題の概要がトリガーされたサブタスクの概要と一致するタスク
を見つけたいです。
言い換えると、
タスクの親サマリー=トリガーされたサブタスクのサマリー
Lookup Issues
そういったタスクを取得するために使いたいです。
図に示すように、
トリガーされたサブタスクの概要
と、検索対象の各タスクの親課題の概要を比較します。
アクションで次の JQL を試しましたLookup Issues
。
→ 問題は解決しませんでした。また、有効なスマートバリューである
ことを確認する公式文書も見つかりませんでした。issue.parent.epic.summary
私も試しました:
→ 構文エラーが発生しました。
さらに、ScriptRunner の使用を検討し、これを試しました。
しかし、私の環境では、issueFunction
または を使用できませんlinkedIssuesOf
。
Jira Automation (できればアドオンなし) を使用してこのロジックを実現する方法を知っている方がいらっしゃいましたら、アドバイスをいただければ幸いです。
環境: Jira Cloud (Jira Software)
ユースケース:Lookup Issues
トリガーされたサブタスクサマリーに一致する親サマリーに基づいてタスクを検索する
Hi @田中優貴 -- Welcome to the Atlassian Community!
First thing, I do not use ScriptRunner, and you may want to check if it has a feature to perform and exact match between text fields such as Summary. Because...
JQL cannot test for an exact match between text fields such as Summary. The JQL CONTAINS ~ operator can test for an exact phrase, but not for the entire field value match.
Next for the smart values, the Parent and Summary are available for at least the parent and "grandparent":
trigger summary: {{issue.summary}}
parent summary: {{issue.parent.summary}}
grandparent summary: {{issue.parent.parent.summary}}
With those things, you could probably create a rule, triggered on a Subtask work item, and use rule conditions to test for the exact matches.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.