Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

0 votes
Wouter van den Berg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events