Missing user field in Jira REST API vs. Confluence REST API

Hi there!

I am wondering why the user resource in the Jira REST API does not contain the field publicName, but the Confluence REST API does. There is only the field displayName which a user might hide from public usage.

So is there a reason why the field publicName is missing in the Jira REST API?

Thanks in advance,
Sven

Hi @SvenHe ,

I don’t understand the reason for this inconsistency so I’ve created an issue suggesting a publicName field be added to the response of Jira’s GET /rest/api/3/user endpoint. Please see JRACLOUD-80758: Add a publicName field in the response of the get user endpoint.

Regards,
Dugald

1 Like

Thanks @dmorrow for your quick help!

In my case I am using the endpoint GET /rest/api/3/myself to get the current user, which also lacks the field publicName. I have added this as a comment to the ticket.

Best regards,
Sven

1 Like