Forums

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

Automation with sub-task

Jakub Szymański December 20, 2022

Hello Community.

I have a easy question for You I think :)

I want to set automation rule:
"When all sub-task's are transitioned to "done" status, send email to assignee."

I want to make issue (which is parent), and three sub-task for other assignee's. And I want to set automaticlly send email to assignee of parent issue, when sub-task's are done.

Any idea what kind of trigger I need to use? 

Can You help? :)

 

2 answers

1 accepted

2 votes
Answer accepted
Tansu Akdeniz
Community Champion
December 20, 2022

Hi @Jakub Szymański 

Welcome to the community.

Please take a look at this:

subtask to parent.png

Jakub Szymański December 20, 2022 edited

Thank You Tansu.

It looks great, but I forgot to say, I have 3 issue types of sub-task :)

Screenshot_5.jpg

Because now we have rule when sub-task are same issuetype (simple sub-task).

Or am I wrong?

Jakub Szymański December 21, 2022

Maybe something like this?

Screenshot_1.jpg

Tansu Akdeniz
Community Champion
December 21, 2022

1- For the first IF condition, your solution is right. But it is better to use "Issue fields condition" instead of "JQL condition".

issuefieldscon.png

2- You don't have to change second IF condition. My first screenshot checks any sub-issues.

0 votes
Jakub Szymański December 21, 2022

Dear @Tansu Akdeniz 

Thank You a lot. Brilliant ! Works well :)

Jakub Szymański December 21, 2022

That is finally form of rule:

Screenshot_2.jpg

Tansu Akdeniz
Community Champion
December 22, 2022

Great to hear that, you are welcome @Jakub Szymański !!

Christina King
Contributor
April 21, 2023

@Tansu Akdeniz   Hello, I have a similar question, however, I'm trying to set up where the linked tasks once closed will leave the parent (main issue) open.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events