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!
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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