This fix relies on changes to both Confluence and Jira to function. As a result, both Confluence 8.4.0 and later, and Jira 9.9.0 and later will be required for this fix. Using the newer version of Confluence with an older version of Jira will continue to function as described below.
Steps to reproduce - JIRA 6.3.1-
- Create a project in JIRA and create custom field with User Picker.
- Set the application links.
- Go to Confluence and insert the XML URL.
- Be sure you specify the custom field when you're adding it to Confluence.
What you expect to see:
- See the Display name
What do you see:
- See the username
Information
tested in Jira 8.5.3
When the HTTP Dump Log is enabled in Jira during the request of Jira Issue Macro, we can see the below information coming from Jira:
<item>
<link>http: <key id="10000">MST-1</key>
<summary>Do this</summary>
<type id="10000" iconUrl="http:>Task</type>
<priority id="3" iconUrl="http:>Medium</priority>
<status id="10000" iconUrl="http: description="">To Do</status>
<statusCategory id="2" key="new" colorName="blue-gray"/>
<resolution id="-1">Unresolved</resolution>
<assignee username="-1">Unassigned</assignee>
<reporter username="admin">The Mighty Administrator</reporter>
<created>Wed, 21 Apr 2021 12:15:48 +1000</created>
<updated>Fri, 14 May 2021 15:34:44 +1000</updated>
<due></due>
<customfields>
<customfield id="customfield_10207" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
<customfieldname>Development</customfieldname>
<customfieldvalues>
</customfieldvalues>
</customfield>
<customfield id="customfield_10102" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
<customfieldname>Pick Someone</customfieldname>
<customfieldvalues>
<customfieldvalue>caliburn</customfieldvalue>
</customfieldvalues>
</customfield>
</customfields>
</item>
Here, we can see that Jira is returning both Username and Display Name for the reporter field. Meanwhile, for the userpicker field only Username is returned
Jira Field |
Username |
Display Name |
reporter |
admin |
The Mighty Administrator |
customfieldtypes:userpicker |
caliburn |
 |

Additional information:
This issue also observed with Jira cloud and Confluence server integration.
- When using Jira issue macro on Confluence page to fetch issue which contains custom Field user picker (multiple-users) it shows id instead if name however Jira cloud shows name.
- Jira Cloud:

- Confluence server:
