Hi there,
I have an automation that when a particular service request is approved it creates a linked issue in another project.
I can pass over who the approval group was from the parent to the linked issue, but I was trying to see if there is a way to extract who it was that approved it so I can pass that over to the linked issue also.
I can see it in the history of the main ticket so it must be stored somewhere, just not sure what field it is I can extract.
Thanks.
Hi @Ste404 ,
The below automation should help :
It gets triggered when the ticket is approved and the approver name can be used with this smart value :
{{approval.approver.displayName}}
Thanks, will have a look more at this. It isn't displaying a value but that may be the automation? I have it firing when it transitions from the second Approval.
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.
yeh I am not getting anything. I have a little manual automation that is just writing to the log after approvals are done and I can't get that one to populate with anything.
-- {{approval.approver.displayName}} -- {{approval.approver.Name}} -- {{approval.approver.accountId}}
All return nothing, the issue is approved by a member of an approver group.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ste404 ,
Would you be able to share the workflow (with the approval steps highlighted), and the Automation as well?
Perhaps I can try to replicate the setup at my end to check this. :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The approval step is just based on Appover group set when you create an OOTB service, it is using the straight up Approvel from JSM.
The test automation I have is just a single step, manual run to log the approver using those items I listed above.
It is as basic as it comes. I had the log in an automation also that triggered when the issue transitioned from Waiting For Approval, but the name of the person who approved from the group can't be displayed. It is in the history so I know it is working, just can't display it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to be sure, Is your automation setup to trigger when "Approval Completed" ? Or is it using the "Issue transitioned" trigger. If it is the latter, try changing it to "Approval Completed" and then check if the Approval name is logged.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Note there are two levels of approval also.
First is the approver group (which is where I need to record the person who actually approved it) and the second is a single user which is easy I just pass that field over.
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.