Forums

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

Jira automation rule to send email notification when status of Epic and sub task are not same

Mohit Jain
Contributor
March 5, 2024

Hi all

 

Good day...

 

Can any support me how to create an automation rule, to send an email notification in case status of EPIC is different from child task.

 

Regards

Mohit Jain

1 answer

0 votes
Bill Sheboy
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.
March 6, 2024

Hi @Mohit Jain 

What have you tried thus far to solve this need?

 

If you have started a rule and it is not working as expected, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected.  Those will provide context for the community to offer ideas.  Thanks!

 

If you have not started a rule, consider using a rule with a Scheduled trigger with JQL to search for the epics, then use conditions, and perhaps the Lookup Issues action, to find any child issues which do not match the status.

To get you started on creating your rule, please refer to these documentation and example sources:

 

Kind regards,
Bill

Mohit Jain
Contributor
March 6, 2024

@Bill Sheboy 

I have not started with rule as bit confused how to start.

 

I have frame some steps per my understanding:

Step 1 : issue transition

step 2 : condition where EpIc status is not equal to status of task.  This is the main part where got confused

Step 3 : email notification having details of those epic.

 

Will check link shared by you...

 

Regards

Mohit Jain 

Bill Sheboy
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.
March 6, 2024

I recommend writing a rule and experimenting to get the results you want...perhaps only emailing yourself initially until done.

Your rule may need to handle two cases, so investigate using the if / else type conditions.  For example:

  • trigger: issue transitioned
  • if / else condition
    • condition: issue type is epic
    • related issues conditions: check if any child issues have a different status, using JQL
    • action: send the email
  • else / if
    • condition: issue has a parent epic
    • condition: status is different than the parent epic's status
    • action: send the email

Suggest an answer

Log in or Sign up to answer