Encountered _APP_UNKNOWN Error When Using Jira Issues Macro
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
Symptoms
The error is similar to:
1
2
3
Errors were reported by the JIRA trusted connection.
* APP_UNKNOWN; Unknown Application: {0}; ["confluence:4557196"]
Cause
The application is trying to use the trusted protocol when a trusted application link is not configured.
The application ID generated in Confluence is different than what is stored in Jira.
The application ID is generated in Confluence by calculating the MD5 hash key from its Server ID. Specifically, the application ID is the first 3 bytes of the MD5 hash calculation of your Server ID.
So when creating a trusted application session in Jira, Jira will go to the Confluence link that you provided http://yourConfluenceSite.com
and then http://yourConfluenceSite.com/admin/appTrustCertificate
to retrieve the Application ID and the public key.
Resolution
If the connection is not trusted, add the parameter anonymous=true to the macro text.
Remove the Confluence trusted application setting saved in Jira and recreate it again. If doesn't work, remove the saved setting, restart Jira, and recreate.
There should be an entry in Jira's trustedapp
table referencing the correct entry in Confluence's keystore table.
Was this helpful?