-
Bug
-
Resolution: Fixed
-
Highest
-
7.13.10
-
8
-
Severity 2 - Major
-
27
-
We've been able to reproduce the problem and can confirm it occurs when Confluence is cold started with 7.13.10 or with the upgrade JAR file for the Jira Issue Macro plugin.
As a result of this, we've removed Confluence 7.13.10 from download, and have provided a workaround JAR file below in the Workaround section
Problem
The Jira Issue Macro won't be displayed properly in a Confluence Data Center version 7.13.10
Environment
Issue reproduced on Confluence Data Center version 7.13.10 (please note the issue has been seen on Clustered mode however in Standalone it is working fine)
Steps to Reproduce
- Create a new Confluence DC Clustered instance version 7.13.10
- Connect to a Jira instance with Application Link
- Attempt to display Jira Issues in Confluence using the Jira Issues Macro
Expected Results
The Jira Issues Macro should load fine
Actual Results
The Jira Issues Macros are failing
We would also see the below stack trace appearing in the logs
[...] 2022-10-13 16:40:46,009 ERROR [http-nio-21310-exec-5] [extra.jira.helper.JiraExceptionHelper] throwMacroExecutionException Macro execution exception: -- url: /display/TEST/Test+Jira+Issues+Macro | page: 65609 | traceId: 369e4daf361f6002 | userName: admin | referer: confluenceBaseURL | action: viewpage com.atlassian.cache.CacheException: Problem retrieving a value from cache com.atlassian.confluence.extra.jira.services.DefaultAsyncJiraIssueBatchService [...] Caused by: com.hazelcast.nio.serialization.HazelcastSerializationException: Failed to serialize 'com.atlassian.confluence.extra.jira.model.ClientId' [...] Caused by: com.hazelcast.nio.serialization.HazelcastSerializationException: There is no suitable serializer for class com.atlassian.confluence.extra.jira.model.ClientId [...]
Workaround
Due to the severity of this and a related issue, we've release a custom JAR file that includes a fix.
To implement it, please
- Download the new file from https://packages.atlassian.com/maven-external/com/atlassian/confluence/plugins/confluence-jira-plugin/11.5.10/
Please be careful when installing JAR files from the internet as they are executable code. In this case the JAR file is hosted on a known Atlassian domain, but we generally recommend against doing this - In Confluence, click the Cog icon on the top right, and click Manage Apps
- On the Manage Apps page, click Upload App
- Select the downloaded JAR file, and click Upload
- Wait for the installation to complete
- Perform a rolling restart on the cluster (restarting one node, waiting for it to come back up, restarting the next node)
This is required to fix an issue with a misconfigured cache
Should you need to uninstall the app for any reason, please refer to Installing, Uninstalling, Upgrading and Downgrading Marketplace Apps on Confluence using REST API
Notes
The issue was not present on Confluence DC 7.13.9