I am trying to update an asset "table" with the person that approved a request. The attribute in the Assets table is a User type field. I'm trying to get the user id of the approver and update that table. So far, it's been a bit maddening... I am able to get the Display name, but have not found anywhere (including the non-working Atlassian documentation) that explains how to get the user id and update the Asset record. I'm using this to get the Display Name, but not sure how to tweak it to return the User Id:
{{#issue.fields.Approvals.approvers.get(0)}}
{{#if(equals(approverDecision,"approved"))}}
{{approver.displayName}}
{{/}}
{{/}}
I've scoured this site, and found a question that was flagged as answered without a working answer.
Any help would be appreciated.