Confluence JIRA Macro not working
Asked by Brian Taylor:

We recently upgraded to 7.19.1 and are having issues with the J***IRA Macro*** receiving error ***Data cannot be retrieved due to an unexpected error.***

I have tried safe mode to ensure a plugin is not the issue and also restarted the application and still receiving the error

![Screenshot 2022-09-30 at 10.36.42 AM.png](/t5/image/serverpage/image-id/218649iE694E367632AA305/image-size/large?v=v2&px=999 "Screenshot 2022-09-30 at 10.36.42 AM.png")

Logs are showing the following

<br />

java.lang.RuntimeException: java.io.IOException: Error on line 2500: The entity "nbsp" was referenced, but not declared.  
-- url: /display/AS/Salesforce+Efforts \| page: 280122889 \| traceId: 0f280f162b1b208f \| userName: briantaylor@carfax.com \| referer: [https://confluence.carfax.net/pages/resumedraft.action?draftId=280122890\&draftShareId=e6b38f56-928a-4346-bdd7-2e395b0ae8ca\&](https://confluence.carfax.net/pages/resumedraft.action?draftId=280122890&draftShareId=e6b38f56-928a-4346-bdd7-2e395b0ae8ca&) \| action: viewpage  
2022-09-30 14:41:21,887 ERROR \[JIM Marshaller:thread-1370\] \[extra.jira.helper.JiraExceptionHelper\] throwMacroExecutionException Macro execution exception:  
-- url: /display/AS/Salesforce+Efforts \| page: 280122889 \| traceId: 0f280f162b1b208f \| userName: briantaylor@carfax.com \| referer: [https://confluence.carfax.net/pages/resumedraft.action?draftId=280122890\&draftShareId=e6b38f56-928a-4346-bdd7-2e395b0ae8ca\&](https://confluence.carfax.net/pages/resumedraft.action?draftId=280122890&draftShareId=e6b38f56-928a-4346-bdd7-2e395b0ae8ca&) \| action: viewpage  
2022-09-30 14:41:21,887 ERROR \[JIM Marshaller:thread-1370\] \[extra.jira.request.JiraChannelResponseHandler\] getChannelElement Error while trying to assemble the issues returned in XML format: Error on line 2500: The entity "nbsp" was referenced, but not declared.


Answers:
author: Brian Taylor
body: Working with Atlassian the issue turns out to be an add-on for JIRA called Power Utilities for JIRA. Disable the add-on and the JIRA Macro work in Confluence. Bug has been opened with AppFire SUPPORT-23441


author: Fabio Racobaldo _Herzum_
body: Hi [@Brian Taylor](/t5/user/viewprofilepage/user-id/594677) ,

please try to re-create the application link in jira and confluence. JIRA MAcro is based on the application link so probably there's some issue in the application link configuration.

Fabio

comments: author: Brian Taylor
body: Fabio - Thank you for reaching out and the suggestion - I tried as you recommended and deleted and recreated the application links. It did not resolve the issue. Still seeing the errors on the logs

022-09-30 17:46:17,944 ERROR \[JIM Marshaller:thread-47\] \[extra.jira.helper.JiraExceptionHelper\] throwMacroExecutionException Macro execution exception:   
-- url: /pages/viewpage.action \| page: 253546847 \| traceId: 67ea7d86d27e6baf \| userName: briantaylor@carfax.com \| referer: <https://confluence-dev.carfax.net/pages/editpage.action?pageId=253546847> \| action: viewpage  
2022-09-30 17:46:17,944 ERROR \[JIM Marshaller:thread-47\] \[extra.jira.request.JiraChannelResponseHandler\] getChannelElement Error while trying to assemble the issues returned in XML format: Error on line 2503: The entity "nbsp" was referenced, but not declared.  

![Screenshot 2022-09-30 at 1.49.38 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/218697iD25B328C51EC23DD/image-size/large?v=v2&px=999 "Screenshot 2022-09-30 at 1.49.38 PM.png")


author: Brian Taylor
body: Also to note this is only happening on the JIRA Macro is to set-up as a table. By Count works fine and I also tried Filter Results and JIRA Charts Macros and all work as expected.


author: Brian Taylor
body: To let you know the fix ended ip being an add-on in JIRA called Power Utilized for JIRA that caused the JIRA Macro in Confluence not to work.


Tags: confluence-app

confluence-server

server