How to get full name for custom field in XML Export

Ivan Chehov October 9, 2014

I'm using the XML export in Jira.  One of the fields I'm looking at is a custom field of type "user" (I don't know the exact data type, but it's a field that will store the user ID of anyone in Jira).  In the XML export, this shows as their username.  I'd like it to be the "display name", just like the Assignee field.

Is there an extra parameter I can pass to force resolution?  Or some other webservice-like call that I can make to get a user's name from their username?

1 answer

1 accepted

0 votes
Answer accepted
Matheus Fernandes
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 9, 2014

Hi Ivan,

This happens because JIRA actually stores the username rather than the display name in a user picker custom field. See https://jira.atlassian.com/browse/JRA-31023. You can use a rest call to get the Display Name from the username: https://docs.atlassian.com/jira/REST/latest/#d2e4676.

I hope this helps! smile

Ivan Chehov October 9, 2014

This is awesome--I didn't know JIRA had a REST API! I think the search resource might actually be a bit more suitable for this project than the export function.

Suggest an answer

Log in or Sign up to answer