Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-70865

Copying link in description or comment fields fails in new Jira issue view

    XMLWordPrintable

Details

    Description

      Summary

      If you copy a link that ends with a slash ( / ) or has an exclamation mark( ! ) and paste it in the description or comment field, it fails with the following error:

      We couldn't save your comment
      It might be empty, too long, or have invalid
      formatting. If you copy-pasted, try removing the
      formatting and adding it directly in the editor.

      Steps to Reproduce

      1. Type the following link as comment and save it:

        https://test.com/

        https://xyz123.atlassian.net/secure/admin/LookAndFeel!default.jspa

      2. Copy the link from the comment
      3. Past the link into another comment (or in the description field) and click Save

      Expected Results

      Comment/description saves

      Actual Results

      Following error appears in UI and browser's console:

      Workaround

      Click on the link and select Unlink before saving it, see screenshot below:

      Attachments

        1. bug report.jpg
          bug report.jpg
          24 kB
        2. Comment Error.png
          Comment Error.png
          654 kB
        3. D5UxmGRXsAAUBA8.jpg_large
          24 kB
        4. D7QcUj2XYAELhTK.png
          D7QcUj2XYAELhTK.png
          23 kB
        5. toomuchbug.txt
          30 kB
        6. Unlink comment.png
          Unlink comment.png
          73 kB

        Issue Links

          Activity

            People

              pkuo Peggy
              grahimi Yahya (Inactive)
              Votes:
              16 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: