Encountered _APP_UNKNOWN Error When Using Jira Issues Macro
症状
The error is similar to:
Errors were reported by the JIRA trusted connection.
* APP_UNKNOWN; Unknown Application: {0}; ["confluence:4557196"]
原因
- 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.
ソリューション
- 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.
Last modified on Mar 31, 2025
Powered by Confluence and Scroll Viewport.