Converting custom field UserID to Name in Automation

Andy Bain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 4, 2023

I have a weekly reminder email sent out via Automation and want to return the name of the IT assignee which is a custom field I've added.  The field type is: User Picker (single user)

In Jira Service Management this correctly displays my name, but in the automation it is returning the user ID, example below:

IT Assignee: 61d3f9b67c6f980070417056

The smart values I have tried in my automation are:

IT Assignee: {{issue.customfield_10775}}

But I am guessing I somehow need to link this back to the actual display name of the user? I did try adding a .DisplayName on the end of the smart value but that didn't work

 

Any help appreciated, thanks

1 answer

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 4, 2023

Hello @Andy Bain 

This document provides information about the attributes you can access for a User.

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-users/

To get the email address for the user you could use

{{issue.customfield_10775.emailAddress}}

Andy Bain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 4, 2023

Thanks. I had looked at that before and it seems I was missing something simple 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events