Forums

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

How can I get a single user by displayName instead of a list of all users?

moshi
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!
October 4, 2022

I use this to take the users list,

"https://your-domain.atlassian.net/rest/servicedeskapi/servicedesk/{serviceDeskId}/customer"


but I only need to get it with the right displayName, how do I form the query correctly?

1 answer

0 votes
Joseph Chung Yin
Community Champion
October 4, 2022

@moshi -

What are you trying to do exactly in your process?  If you are trying to obtain user information based from some issue actions, then you can setup automation rule to obtain the single user display name for further process (i.e. if the you want to send custom email to the reporter and want to display the display name in the email body etc..)

Here are a few links on Automation for Jira for your references -

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

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-users/ (smart values usage against user object in Jira/JSM)

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Suggest an answer

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

Atlassian Community Events