Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use Jira Automation to find tasks whose parent issue's summary matches the summary of a tr

田中優貴
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 30, 2025

タイトル:

Jira Automation を使用して、親課題の概要がトリガーされたサブタスクの概要と一致するタスクを見つけるにはどうすればよいですか?


体:

Jira Cloud で次のロジックを実行する Jira Automation ルールを構築しようとしています。


🎯 目標

自動化ルールによってサブタスクがトリガーされたときに、親課題の概要がトリガーされたサブタスクの概要と一致するタスク
を見つけたいです。

言い換えると、
タスクの親サマリー=トリガーされたサブタスクのサマリー

Lookup Issuesそういったタスクを取得するために使いたいです。


👁️‍🗨️ 構造図(マーメイドダイアグラム)


Mermaid-preview.png



図に示すように、
トリガーされたサブタスクの概要
と、検索対象の各タスクの親課題の概要を比較します。


🧪 私が試したこと

アクションで次の JQL を試しましたLookup Issues

issuetype = タスク AND issue.parent.epic.summary ~ "{{issue.summary}}"

→ 問題は解決しませんでした。また、有効なスマートバリューである

ことを確認する公式文書も見つかりませんでした。issue.parent.epic.summary

私も試しました:

issuetype =タスク AND ( summary ~ "{{issue.summary}}")

→ 構文エラーが発生しました。

さらに、ScriptRunner の使用を検討し、これを試しました。

issuetype = Task AND parent in ( issueFunction in linkedIssuesOf ("summary ~ '{{triggersummary}}'", "is parent of"))

しかし、私の環境では、issueFunctionまたは を使用できませんlinkedIssuesOf


Jira Automation (できればアドオンなし) を使用してこのロジックを実現する方法を知っている方がいらっしゃいましたら、アドバイスをいただければ幸いです。

環境: Jira Cloud (Jira Software)
ユースケース:Lookup Issuesトリガーされたサブタスクサマリーに一致する親サマリーに基づいてタスクを検索する

1 answer

0 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 1, 2025

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events