Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

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

Atlassian Community Events