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?
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.