Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-10564

"Atlassian JIRA" link in the jiraissues macro takes you to the XML view instead of the Issue Navigator page

    XMLWordPrintable

Details

    Description

      Hi,

      We are running Confluence 2.7 and JIRA 3.12.1 to successfully embed jira issue lists into Confluence pages using the jiraissues macro using the procedure described in the jiraissues documentation (ie clicking on the XML link in the navigator and using it as the url for the macro).

      The problem that we've got is that when we click on the JIRA link in the displayed tables it takes us to the XML issue list view in JIRA rather than the Issue Navigator. This appears to be related to a change in JIRA in how the application constructs URLs for the XML view. From looking at the macro documentation it appears that when you click on the XML link in the Issue Navigator in JIRA you should go to a page with url of the form:

      http://jira.atlassian.com/secure/IssueNavigator.jspa?view=rss&....

      However in the latest version of jira you actually get a url of the form

      http://jira.atlassian.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?&...

      Consequently Confluence seems to get confused by the new url format and just uses the original source as the link.

      As a workaround you can modify the url passed to the jiraissues macro to get things to work:

      • Replace "/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml" with "/secure/IssueNavigator.jspa?view=rss"
      • Add "&reset=true" to the url. If you don't do this you'll get an empty list of issues in your issue navigator!

      Obviously this isn't ideal and is quite confusing for most users - particularly as it contradicts the jiraissues documentation. Can this be addressed, please?

      Thanks
      Simon

      Attachments

        Issue Links

          Activity

            People

              cjerozal Cheryl Jerozal [Atlassian]
              1cf9efbc6524 Simon Keary
              Votes:
              4 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: