Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Can't use automation for initiative hierarchy (Epic Parent) When Epic field is being changed



I am trying to change one of the fields' values at the initiative level we created whenever a field at the epic level (child of the initiative) is updated.

No options in the branch function refer to anything higher than epic

And I couldn't find a way to use smart values in this case 

Any help would be appreciated 



Screen Shot 2021-12-21 at 9.49.45.png

1 answer

Hi @Ofer Regev -- Welcome to the Atlassian Community!

You are correct that those other levels are not supported by-name in the automation actions/branches...yet.  Instead you could try to branch on JQL, for example:

  • trigger: issue field updated (for your field)
  • condition: issue type equals epic
  • branch: on JQL with key = {{triggerIssue.parent}}
    • condition: issue type equals initiative
    • action: edit issue, copying the value from the trigger issue

Kind regards,

Thanks @Bill Sheboy 
question, if I need to check something on a specific field at the initiative level
can I use {{triggerIssue.parent.custom field name}} ? 

Often that is not possible, because the rule would potentially need to load all of the data for any linked issues in a chain...even if not needed. 

Instead you could use a branch to that parent to access the data, as I suggested for the edit, or Lookup Issues with the same JQL.

Please note this gets more complicated if you needed to update the trigger issue (e.g. epic) based upon something learned in the parent (e.g. initiative).  For Jira Cloud automation, the possible work-arounds are to use Lookup Issues or Created Variables to save the information first.  For example:

  • trigger: some trigger you need
  • condition: issue type is epic
  • condition: issue has a parent (e.g. initiative)
  • action: lookup issues with JQL to get the parent's data
  • condition: test the parent's fields, such as {{lookupIssues.status}}
  • ...more actions...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

130 views 1 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you