Forums

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

Jira automation rule for assigning epic to all related tasks and bugs

attaf sheikh
January 2, 2024

Hi
I am looking forward for the automation rule in jira where if i assign an epic to a story, its automatically assigned to its related tasks and bugs as well.

 

Thanks

1 answer

1 accepted

2 votes
Answer accepted
Evgenii
Community Champion
January 2, 2024

Hi, @attaf sheikh 

Welcome to Atlassian Community

You can create rule, which selects all linked issues and assigns Epics to them. It's example for Cloud Jira, bat for Server/DC it's the same (you need to look at Epic Link field changes)Screenshot_1.png

attaf sheikh
January 2, 2024

Works when field kept as 
           Copy Parent from Trigger issue

 

thanks!

Like Evgenii likes this
Evgenii
Community Champion
January 2, 2024

Great. If answer helped you, please mark it as solution. It will help other people with similar questions.

attaf sheikh
January 4, 2024

@Evgenii Hi

This trigger wont work when for eg: if i create bugs after testing and link it with story, it doesnt automatically assign the epic to it. 

How to cater this point?

Evgenii
Community Champion
January 4, 2024

Hi, @attaf sheikh 

In that case you can make additional rule, which will trigger, when you link issues, and make necessary actions:

- it will look for Epic existence in linked issue

- if Epic exists, add it to required issue

attaf sheikh
January 9, 2024

@Evgenii Can you provide me an example as above picture? I have tried multiple scenarios but its failing at end.

Evgenii
Community Champion
January 9, 2024

Sure. Made quick example.

Pay attention, rule depends from type of link (inward/outward)Screenshot_13.pngScreenshot_14.pngScreenshot_15.png

Suggest an answer

Log in or Sign up to answer