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

Add Comment in the New Issue View on Board that has Too Many Special Characters Return Erros

    XMLWordPrintable

Details

    Description

      Summary

      Adding a link that has too many special characters in the 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. Open an issue in a board
      2. Type following link as comment and save it
        https://test.test.com/app/test#/discover?_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:'2018-10-21T18:50:00.000Z',mode:absolute,to:'2018-10-21T18:51:00.000Z'))&_a=(columns:!(tag,level,message),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'27811530-f178-11e7-8a66-0fade6d0aba7',key:instance_id,negate:!f,params:(query:i-092f047d5af921a35,type:phrase),type:phrase,value:i-092f047d5af921a35),query:(match:(instance_id:(query:i-092f047d5af921a35,type:phrase))))),index:'27811530-f178-11e7-8a66-0fade6d0aba7',interval:auto,query:(language:lucene,query:'tag:origin'),sort:!('@timestamp',desc))

      Expected Results

      Comment saves

      Actual Results

      Following error appears in UI and browser's console:

      Workaround

      In the full issue view, adding the comment works.

      Attachments

        Issue Links

          Activity

            People

              pkuo Peggy
              gsenna Gabriel Senna
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: