In some cases we might have more then one approval round in a single issue for the same status - i.e customer didnt approve the first window to run a change, but approves the second provided.
My use case is that we need to get the last and / or approved final decision on the issue, then copy this information to a linked issue - this is working with the first one with this smartvalue.
Then comment the linked issue as follows
{{#triggerIssue.Approvals}}
{{#approvers}}
Name: {{approver.displayName}}
Action: {{approverDecision}} \\
{{/}}
{{/}}
What happened was the exact scenario from above, and automation didn't take the second approval decision.
How can I tune the advanced comparison to get the approved decision on this one?
Any help is appreciated.
Approvals is a list type. If you always want to get the last approval then you should refer to it by:
{{triggerIssue.Approvals.last}}
This will give you the last approval in the list.
Cheers,
Simeon.
It worked. I tried this so many ways, but couldnt make it work.
Thanks for your help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.