Forums

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

How to notify reporter of issue when all the subtasks inside an issue have changed status to done?

Aditya Aryasomayajula May 6, 2020

Hi

I am trying to figure out how to implement this rule in Jira cloud. I would like notify the reporter when all the subtasks inside an issue have changed status to done. I have 3-4 subtasks in an issue and I set a rule that only when the subtasks are in status done, the reporter can transition the issue. But I also want to automate the notification when the subtasks are completed so that the reporter can transition the issue . Thanks,

Aditya

1 answer

1 accepted

1 vote
Answer accepted
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 7, 2020

Hello @Aditya Aryasomayajula

Thank you for reaching out.

Per your description, I understand you would like to notify the reporter of an issue when all the related sub-tasks are done. Is that correct?

I believe the following automation rule should work for you:

Screen Shot 2020-05-07 at 21.33.50.png

This would be the background of the rule:

  1. The rule is triggered when a sub-task is transitioned to done
  2. If the other sub-tasks of the same parent are also done
  3. Then, send an e-mail to the Reporter of the Parent issue

Let us know if you have any questions.

Aditya Aryasomayajula May 8, 2020

Hi Peter,

Thanks a lot for reaching out. This is exactly what I am looking for. I was not aware how powerful the automation tool in jira is. I just have one question...does this rule ensures that the email is sent to the reporter only when all the sub-tasks are completed and not when one sub-task is done? Can you confirm that please. Thanks.

Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 8, 2020

You are welcome @Aditya Aryasomayajula

Indeed, Jira automation is a very complete tool.

With the rule I provided above, I can absolutely confirm that the notification will only trigger when all the sub-tasks of the parent are done. You just need to make sure you selected the condition "All match specified JQL" in the Related issues condition:

Screen Shot 2020-05-08 at 10.27.37.png

Let us know if you have any other questions.

Like # people like this
Aditya Aryasomayajula May 8, 2020

Thanks Peter. Appreciate your help. :)

Yarden Cohen September 23, 2020

A followup to this question - Is it possible to add to the sent email a list of all of the finished subtasks ?

Kelli Frattini-Adams
Contributor
October 9, 2020

Hi Yarden, I was able to accomplish this by the following text in bold within the body of the email. Hope this helps.

 

Hello {{Issue.Lead Developer.DisplayName}},

All of the subtasks on {{Issue.key}} are Status = Done and are ready to be deployed to QA.
Please coordinate with the Lead Developers of Subtasks and deploy to QA.

https://nationaleducationassociation.atlassian.net/browse/{{issue.key}}

Labels: {{issue.labels}}


Related Subtasks: {{issue.subtasks}}

--

What I received in the actual email was:

All of the subtasks on NEA-3795 are Status = Done and are ready to be deployed to QA.
Please coordinate with the Lead Developers of Subtasks and deploy to QA.


Labels: Mulesoft, Salesforce
Subtasks Lead Developesr: Sharon Youmans

Related Subtasks: NEA-4704, NEA-4705

Thank you,

Suggest an answer

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

Atlassian Community Events