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

JIRA issues are not added to Confluence page when URL is present in highlighted text

    XMLWordPrintable

Details

    Description

      Problem

      JIRA issues can be created directly by highlighting a text on a Confluence page but if the selected text contains a URL the following message is shown and the issue is not added to the page. On JIRA side, issues is created successfully.

      xxx issues has been created, but there are problems in adding them to the page. You can manually add them later using JIRA macro.

      Steps to Reproduce

      1. On a page with text and URLs, Highlight some text including the URL.
      2. Click on 'Create Issue'
      3. Select the Project
      4. Click on 'Create'

      Expected Results

      Jira issue should be created and added to the page, like this:

      On the browser console, you can see addedToPage = True in server response from a POST request https://xxxxxxxxxx/confluence/rest/highlighting/1.0/insert-storage-fragment 

      Actual Results

      No issue was added and the message is shown.

      On the browser console, we can see a response from the server with addedToPage = False

      Technical Notes

      The following warning can be seen in Confluence logs:

       2024-03-07 13:49:48,569 WARN [http-nio-8090-exec-33 url: /confluence/rest/highlighting/1.0/insert-storage-fragment; user: admin] [plugins.highlight.service.DefaultSelectionModifier] modify Could not modify storage format to decorate with a marker
       -- url: /confluence/rest/highlighting/1.0/insert-storage-fragment | userName: admin | referer: https://xxx.xxx.xxx/confluence/display/ds/test2 | traceId: 3887955ad2ae53dd  

      Workaround

      There is no currently any workaround for this issue but you can still manually add the issue to the page later.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              f7fe77b3bc24 Filipe Rodrigues
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: