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
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:
This would be the background of the rule:
Let us know if you have any questions.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
Let us know if you have any other questions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A followup to this question - Is it possible to add to the sent email a list of all of the finished subtasks ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.