JIRA issues macro displays "USER_UNKNOWN"
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Problems
The following appears in the atlassian-confluence.log
:
1
2
com.atlassian.confluence.extra.jira.TrustedAppsException: USER_UNKNOWN; Unknown User: {0}; ["abc@abc.com"]
at com.atlassian.confluence.extra.jira.DefaultJiraIssuesManager$1.handle(DefaultJiraIssuesManager.java:112)
Diagnosis
Application link with Trusted Application Authentication is configured between Confluence and JIRA.
Both applications are using Crowd for user management.
Using an alias in Confluence.
Cause
The username from the cwd_user
table in Confluence is the aliased name, which is used to authenticate against JIRA through Trusted Application authentication. However, the requirement for Trusted Application authentication is that the username from both applications match.
Solution
Resolution
Use OAuth Authentication for the application link.
Was this helpful?