The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Run automation rules on Parent of Epic

Eliyahu Klein
August 9, 2023

I want to run an automation that will change a custom field in the Parent issue of Epic (Initiative).

There is no supporting option in the "Branch rule/Related issue" component.
When I try to make a smart value {{issue.parent.key}} in "Advanced branching" that will reach the parent (as shown in the picture) the rule changes the value in the Epic itself instead of in its parent.

How I set the change in the parent issue?

image.pngimage.png

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Wouter van den Berg
Community Champion
August 18, 2023

Hi @Eliyahu Klein

There is a lot changing in regards to Parent information. A lot is deprecated, let alone the fact that you are targeting Advanced Roadmaps hierarchy. I am curious to solve this one and I am already trying out some API calls on the LinkId. 

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-links/#api-rest-api-3-issuelink-linkid-get

Question before I continue. Can I assume that linked Initiatives will always be linked as Parent so the Epic shows Child of? 

Wouter van den Berg
Community Champion
August 18, 2023

If so this could also work. The logic for the rest of the JQL (if issue has more parents) I'll leave to you but I was able to target the parent with this: 

 

Screenshot 2023-08-18 at 19.28.04.png

 

If this answered your question please mark this as accepted. 

TAGS
AUG Leaders

Atlassian Community Events