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

Confluence HTML Macro breaks Jira Release Notes links

    XMLWordPrintable

Details

    Description

      Summary

      After generating Jira Release Notes as HTML. Copying the generated HTML into an HTML Macro in Confluence, breaks the links on Firefox and Chrome.


      Environment

      Bug reproduced on:
      Confluence 5.8.18 and 5.9.8 using Chrome 48 and 50.0.2661.75 AND Firefox 45.0.2
      Bug not reproduced on IE11


      Steps to Reproduce

      1. Login to Jira
      2. Browse to a specific Project
      3. Click on Versions or Releases (if using Jira Agile)
      4. Select a specific version (by clicking on it)
      5. On the top right, click on Release Notes
      6. Configure Release Notes and select HTML
      7. Copy the generated HTML code (Make sure to include the bugs links)
      8. Login to Confluence
      9. Create a new Page
      10. Insert an HTML Macro (if not enabled, go to System Add-ons and enable html-xhtml
      11. Paste the HTML code there
      12. Preview the page


      Expected Results

      Links to the tickets should be correct


      Actual Results

      Links to the tickets have the ticket id as a prefix of the http link.


      Example

      Jira Release Notes HTML sample:

      <li>[<a href='http://localhost:8080/jira/browse/TEST-123'>TEST-123</a>] Some text here </li>
      

      Confluence HTML Macro result:

      <li>[<a href='TEST-123http://localhost:8080/jira/browse/TEST-123'>TEST-123</a>] Some text here </li>
      


      Workaround

      There are currently 2 workarounds:

      1. Manually edit those links
      2. Use IE to copy the HTML Release Notes

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rslaiby Rudy Slaiby
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: