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?
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!
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot