Send E-Mail to Parent assignee if all Subtasks are closed

Y. Oezl September 28, 2023

Hello dear Community,

I would like to ask a simple question. I tried a few different methods, but I couldn't find correct answer.

If we go through the example:
I have a "Task-Issue" and this ticket is assigned to me. There are Sub-Tasks under it and they are assigned to other people.

I want to create a simple e-mail sending system:

If the Sub-Tasks are completed as resolution "Approved", I want an information e-mail to be sent to the person assigned in the Parent (assignee in the Task ticket) that all Sub-Tasks have been approved and closed.

I could not find how I should organise this. I would be very grateful if you could help me with this.

Thank you and best Regards

2 answers

1 accepted

1 vote
Answer accepted
Alisa Zamaraeva
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.
September 28, 2023

Hi @Y. Oezl 

It's possible to get such notification with Automation rule.

1. Set the trigger to issue transitioned to <target> status or Field value changed for Resolution field.

2. Check if the issue that triggered the rule is a sub-task.

3. Check if the resolution is correct now.

4. Open "For parent" branch

5. Check if all sub-tasks are done: add Related issues condition where related issues are sub-tasks and all of them match a JQL (status = <target> and resolution = <your resolution>).

6. Send an email to assignee.

Here's how my rule looks like, fill in your parameters, it should work.

Screenshot from 2023-09-28 16-42-41.pngScreenshot from 2023-09-28 16-47-45.png

Hope this helps, Alisa

Y. Oezl September 28, 2023

Hi Alisa,

Yes it works... Thanks. 

Like Caroline SCENI likes this
0 votes
Y. Oezl October 11, 2023

Hi Alisa, 

I would like to ask one more question : 

This time I tried for Epic, I could not get email or add comment to Parent (Epic) !

 

this time, if I will close my TASK tickets, send Epic Parent Email and add comment : 

I tried 2 different way :

 

Epic.JPGepic2.JPGThat would be great, if you can help me about this too

I did not want to open new Topic for this. 

Best RegardS
Yigit.

Y. Oezl October 11, 2023

epic3.JPG

Suggest an answer

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

Atlassian Community Events