The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
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.
Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.