How to get full name for custom field in XML Export

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

Accepted Answer
0 votes

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

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
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

456 views 7 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you