Forums

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

Automation for Jira query custom field "multiple user picker field"

Aaron Geister
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 3, 2020

We have multiple customer fields in our automation email that we use to pull information to make sure end user can view in the email and also add the url to the ticket. 

Example of our email body query:

{{issue.summary}}
Employee Name: {{displayName.customfield_10113}} >>>> This does not work!
Description: {{issue.description}}
Reporter: {{reporter.displayName}}
Last Working Date: {{fields.customfield_10140}}
{{issue.url.customer}}

 

We have use the json file to help pull what it should read to which was originally:

{{name.customfield_10113}} but it never pulls the information. 

Can anyone help point out what we are missing we have tried multiple different ways to point to that specific customfield but it will not query the person name on the ticket.

1 answer

1 accepted

0 votes
Answer accepted
Olga Videc
Community Champion
June 4, 2020

Hello @Aaron Geister 

Have you tried this way {{issue."Your custom filed name"}}

Example {{issue."Customer name"}}

You can literally write your custom filed name, no filed ID needed, It's case sensitive so keep that in mind.

BR, Olga

Aaron Geister
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2020

Thank you I will try this next. Appreciate the reply.

Aaron Geister
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2020

This is the output for the changes I made so now I am using:

{{issue.Employee Name}} 

TEST TEnRM for automatio

Employee Name: 5bd75ada1582cc3b70157007<<<< again we get the code not the Name

Description: This is a test please do not term.
Reporter: Aaron Geister
Last Working Date: 2020-06-04

Aaron Geister
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2020

This field is a user picker field do I have to state that in the smart value? 

{{issue.Employee Name.displayName}}  ????

Aaron Geister
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 4, 2020

This is the answer to the question so all that have this issue know. 

{{issue.Employee Name.displayName}} 

multiple user field :"case sensitive" this = {{issue.custom field name.displayName}}

This will query the name of the multiple picker field. 

Like Olga Videc likes this

Suggest an answer

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

Atlassian Community Events