Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Philipp Roeschke 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

1 vote
Answer accepted
Philipp Roeschke 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 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

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