Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

Jira Automation - branch to Epic's parent issue (Smart Values or JQL?)

p0cket0m
Contributor
February 17, 2022 edited

Above Epics we use Initiatives in our issue type hierarchy.

2022-02-17 14_39_14-Hierarchy Levels - Advanced Roadmaps - Jira.png

How can I branch to them in Automation to update an Initiave's field when a specific field in the child epic changes? I need the generic parent of an issue. Smart values like issue.parent only seem to return subtask parents.

 

Example below works for a triggering User Story updating a field in the parent Epic:

2022-02-17 14_40_20-Automatisierung - Jira.png

Default options in branching do not offer generic parent of any sort of issue. There you can only branch to subtask's story or epic.

Can Smart Values or JQL do this? 

2022-02-17 14_47_00-Automatisierung - Jira.png

Smart value issue.parent seems not working for this.

2 answers

0 votes
James Navin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 17, 2022

Hi @p0cket0m ,

At the moment I think your best option is to use issue links and then branch over them, as mentioned by @Stefan Salzl.

I have updated AUT-1789  to include your example usage. You can watch that ticket to follow its progress.

Thanks,

James

0 votes
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 17, 2022

Hi @p0cket0m ,

As far as I know the "hirarchy" in Jira it only consists of EPIC --> Issue --> SubTask

So from my understanding an Epic is the "ultimate possible parent" =D

 

In order to find a fitting solution:
Could you please provide screenshots of your issues/setting to get a better understanding of your requirement?

 

Thanks in advance.

Best
Stefan

p0cket0m
Contributor
February 17, 2022

Hi @Stefan Salzl

We are using Jira Premium with Advanced Roadmaps where you can define hierarchy levels above Epic. We use it for strategic management planning (inspired by SAFe).

2022-02-17 14_39_14-Hierarchy Levels - Advanced Roadmaps - Jira.png

But in Automation I cant find a way to refer to the parent Initiative from a triggering Epic change.

2022-02-17 14_40_20-Automatisierung - Jira.png

 

There is an option for Advanced branching using smart values. But I dont know how to use it to get the generic parent of an issue.

2022-02-17 14_47_00-Automatisierung - Jira.png

Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 17, 2022

Hi @p0cket0m 

first of all: as an Austrian - nice to see German languge in UI  =D

sooo....to be honest I´m not familiar with Advanced Roadmap and just did a quick research. As it seems to me there is no "out of the box" automation yet in jira. Found a request you could vote up --> Support for Advanced Roadmap fields in Automation for Jira 

 

From what I saw on Atlassian Support Site: is the following configuration set on your site?

image.png

 

I´ll try to think about the possibilities of fetching the parent initiative.

 

Best
Stefan

Like p0cket0m likes this
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 17, 2022

Hi @p0cket0m ,

as I could read in other posts in the community the best way would be to use linking between initiatives and epics and then use a branching rule.

There was a similar question:
https://community.atlassian.com/t5/Automation-questions/Syncing-a-field-when-changed-from-initiative-to-epics/qaq-p/1497249

 

Best
Stefan

Like p0cket0m likes this

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Jira Events