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?
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!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.