Forums

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

カスタム階層で作成した課題を自動でcloseしたい

koutarou ishibashi
Contributor
September 5, 2023

自動化のテンプレートである「すべてのストーリーが完了する→エピックを閉じる」について、
カスタム階層で作成した課題でも同様の自動化を実施したいのですが、下記JQLについてご教示お願い致します。

■ご教示いただきたいJQL

(1)「ルール/関連する課題を分割する」にて、親課題のissuKeyを条件にしたいと考えております。
JQLを使って、現在の課題の親課題を指定する方法についてご教示お願いします。

②「関連する課題の状態」にて、子課題すべてのステータスが"DONE"であることを確認したいと考えております。
JQLを使って、親課題の子課題すべてを取得する方法についてご教示お願いします。

1 answer

1 accepted

0 votes
Answer accepted
Matthias Gaiser _K15t_
Community Champion
September 5, 2023

Konichiwa @koutarou ishibashi

I'm afraid my Japanese is quite limited, but I tried to translate your post with deepl. If I got it correct, you're searching for an automation to automatically close a parent issue when all child issues are done. Is this correct?

There's another template in the automation library which could fit: https://www.atlassian.com/software/jira/automation-template-library#/rule/112177

If this doesn't help, I'd like to ask you to translate your question to English and ask again.

Cheers,
Matthias.

koutarou ishibashi
Contributor
September 5, 2023

Thank you for your response.

I'm not very proficient in English, so there may be mistakes.

The template couldn't be used for hierarchy levels above level 2. I thought we would need to specify it using JQL. If you know how to do it, please let me know.

I understand you may be busy, but I appreciate your help.

Like Matthias Gaiser _K15t_ likes this
Matthias Gaiser _K15t_
Community Champion
September 5, 2023

Can you share how your hierarchy levels look like? How are these levels tied together? Maybe a screenshot helps.

koutarou ishibashi
Contributor
September 5, 2023
I'm sorry. I cannot capture a screenshot, but the screen looks like the following
# Level Namae
2   Legend
1   Epic
     Story
     Subtask
koutarou ishibashi
Contributor
September 5, 2023

It has been resolved. By setting the conditions as follows:

For the 'Parent' condition, set Key = {{issue.parent.key}}
And for 'Sub-tasks match' condition, set 'Parent Link' = {{issue.key}}

I was able to achieve success

Like Matthias Gaiser _K15t_ likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events