Hi all,
I'd like to create automation that updates an Epic's custom field based on a comparison of its child issues data.
Basically I'd like to achieve the following:
- When: An Epic is closed
- Then: It loops through the Epic's child issues and finds the latest resolution date
- And: Updates a custom field (e.g. 'End date') on the Epic with the latest resolution date of the previous step
The problem I'm facing is that variables created in automation routines in Jira don't have global scope, so a variable that is set within an if branch is not visible outside of it.
Does anyone have any ideas about how I could solve this problem?
Thank you in advance,
Tony