The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

resolve custom field value (user picker) as smartvalue text in comment

Philipp Roeschke
Contributor
July 4, 2024

Dear Community,

I have the following issue:

I have a custom field (user picker) which I query when creating an issue. In an automation, I have a variable that converts the value of the custom field into a smart value:

variable.png

I now want to use this smart value to create a comment in the ticket:

comment.png

but instead of the name I only get an ID:

ID.png

I can`t find the option to resolve the ID as a name. 

Maybe the Smartvalue or variable is set wrong? 

 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Philipp Roeschke
Contributor
July 4, 2024

Originally I wanted to query the request participant as a field in the request form, but this is only visible in the issue view. Maybe you have a better idea on the basic topic?

 

requestform.png

Philipp Roeschke
Contributor
July 4, 2024

I found a solution that works for me. Checking the issues values with this help: Find all available smart values for a Jira issue | Cloud automation Cloud | Atlassian Support

I found all values of the custom field: 

code.png

And so I was able to configure the smartvalue with displayname instead of the ID:

{{issue.customfield_10147.displayName}}

 

Like • John Funk likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events