Hi ,
I have a custom field (text) call Progress. it calculated {{done_issues}}/{{issues}}*100. simple calculation.
I monitor the issue delete triger and could find the issue.parent.key with no problems.
caluculate: doneIssue
calculate: total issuess.
calculate progressPercentageString - no problem
I can use a releated branch as the trigger issue is deleted. and I can find a key to update the epic.
I Tried lookupIssues, Advance branching,JQL and all the combination could not find how to update the parent epic
Hi @Kaysaff Tal
This symptom is from a built-in, hidden behavior of branching on JQL: it automatically adds JQL to exclude the trigger issue to prevent errors / looping situations. And so that added JQL fails because the trigger issue was deleted.
The fix is to use branch on Parent instead as the automation engine "knows" there is zero-or-one issue to branch to, and it is not the trigger, so it doesn't add the JQL behind the scenes.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.