java.io.IOException on 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 following error will appear on JIRA Issues macro.

(Auto-migrated image: description temporarily unavailable)

The following appears in the atlassian-confluence.log:

ERROR [http-8412-3] [confluence.extra.jira.JiraIssuesManager] getChannelElement Error while trying to assemble the issues returned in XML format: Error on line 90: The element type "link" must be terminated by the matching end-tag "</link>". -- url: /confluence/plugins/servlet/issue-retriever | userName: admin WARN [http-8412-3] [confluence.extra.jira.JiraIssuesServlet] doGet An IO Exception has been encountered: Error on line 90: The element type "link" must be terminated by the matching end-tag "</link>". -- url: /confluence/plugins/servlet/issue-retriever | userName: admin java.io.IOException: Error on line 90: The element type "link" must be terminated by the matching end-tag "</link>". at com.atlassian.confluence.extra.jira.DefaultJiraIssuesManager$JiraChannelResponseHandler.getChannelElement(DefaultJiraIssuesManager.java:323) at com.atlassian.confluence.extra.jira.DefaultJiraIssuesManager$JiraChannelResponseHandler.handleJiraResponse(DefaultJiraIssuesManager.java:305) at com.atlassian.confluence.extra.jira.DefaultJiraIssuesManager$1.handle(DefaultJiraIssuesManager.java:117) ...

Cause

The URL was incorrectly entered into the URL field of the JIRA Issues macro. The JIRA Issues macro couldn't extract the information from the URL provided in the field. Instead of the Issue Navigator URL, the URL of the XML view of search result or filter must be entered.

Resolution

  1. Go to Issue Filter or Search result from JIRA.

  2. Navigate to Views >> XML

  3. Copy the URL from the Web browser to URL field in JIRA Issues Macro

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.