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?
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.