Forums

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

Automation branch rule / related issues not working for parent link

Daniel Starkey
Contributor
November 11, 2020

Hi,

In Jira we have the following configurations/hierarchy for our issue types;

- SAFe Epic                  (Custom issue type)
       - SAFe Feature      (Reused built in Jira Epic - links to SAFe Epic on Parent Link)
            - Story               (Standard Jira Story - links to SAFe Feature on Epic Link. This is                                          where we capture Story Points)

Using Jira Automation, we'd like to be able to aggregate the number of story points and store them against the parent SAFe Feature. Then aggregate them and store them against the SAFe Epic.

I've created a Global Rule as a proof-of-concept, that is supposed to send an email of the linked SAFe Epic's Summary field (to prove that we can access the SAFe Epic from Automation when a SAFe Feature is updated). It is triggered each time the Story Points field on the SAFe Feature is modified. I then try finding the SAFe Epic based on the Parent (link) using the branch rule / related issues. But, it never enters into the Send Email action.

 

Screenshot 2020-11-11 at 09.24.09.png

2 answers

1 accepted

1 vote
Answer accepted
Daniel Starkey
Contributor
November 11, 2020

I've managed to get it working by using a JQL query to work out the related SAFe Epic (custom issue type) based on the Parent Link field

Screenshot 2020-11-11 at 14.00.48.png

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.
November 11, 2020

Hi @Daniel Starkey 

Given the way your solution rule's trigger is written (all issue story point changes), please consider the number of executions of that global rule and the limits:

https://support.atlassian.com/jira-cloud-administration/docs/explore-jira-cloud-plans/

Best regards,

Bill

Like Hana Kučerová likes this
0 votes
Hana Kučerová
Community Champion
November 11, 2020

Hi @Daniel Starkey

welcome to the Atlassian Community!

To be able to get Epic (SAFe Feature) issue to your stories, please try to change the "Branch rule / related issues" from Parent to Epic (parent).

Then I think you need to create the second rule, which will react to change of Story points in SAFe Feature. There you will need to use "Branch rule / related issues": Linked issues. You should allow rule trigger for this one, because it will react to the first rule's updates.

Daniel Starkey
Contributor
November 11, 2020

Hi @Hana Kučerová 

 

Thank you for your response!

 

I've managed to get the first part working so the user story updates the Jira Epic (SAFe Feature).

 

Screenshot 2020-11-11 at 13.21.58.png

I'm unable to get the second part working. The automation is triggered by the Epic (SAFe Feature) being updated, but it doesn't enter into the Branch rule / related issues section when using the linked issues either.

Screenshot 2020-11-11 at 13.22.21.png

Thanks,

Dan

Suggest an answer

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

Atlassian Community Events