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

Inserting a JIRA Issue Macro via wiki-markup Does Not Create Remote Link in JIRA

XMLWordPrintable

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Summary

      Inserting a JIRA Issue Macro via wiki-markup Does Not Create Remote Link in JIRA

      Environment

      • Confluence 6.0.0-OD-2016.12.2 and JIRA v7.2.0-OD-04

      Steps to Reproduce

      1. Create a Page in Confluence
      2. Insert a JIRA Issue using the wiki-markup option of {jira:issue-key}
      3. Save Page

      Expected Results

      Remote link is created on the linked JIRA Issue

      Actual Results

      Confluence Log:

      2016-03-23 22:24:51.281556500 2016-03-23 22:24:51,279 DEBUG [http-bio-1997-exec-60] [confluence.tinymceplugin.rest.WikiXhtmlConverter] convert [scranford][BACON-13631499]
      2016-03-23 22:24:51.281558500 {jira:BACON-39}
      2016-03-23 22:24:55.322366500 2016-03-23 22:24:55,304 ERROR [http-bio-1997-exec-60] [atlassian.confluence.event.ConfluenceEventDispatcher] lambda$getRunnable$1 There was an exception thrown trying to dispatch event [com.atlassian.confluence.event.events.content.page.PageUpdateEvent@921542[originalPage=page: Link to JIRA v.1 (13631500),updateTrigger=EDIT_PAGE,page=page: Link to JIRA v.2 (13631499),suppressNotifications=true,timestamp=1458771895301]] from the invoker [com.atlassian.confluence.event.ConfluenceListenerHandlersConfiguration$TimingListenerHandler$1$1@d3f863]
      2016-03-23 22:24:55.322382500  -- referer: https://site.atlassian.net/wiki/pages/editpage.action?pageId=13631499 | url: /wiki/rest/api/content/13631499 | traceId: 95acab9133a57f01 | userName: scranford
      2016-03-23 22:24:55.322383500 java.lang.RuntimeException: java.lang.NullPointerException

      Notes

      Unable to repro in Confluence 5.9.2 and JIRA 6.4.11
      Remote link created successfully

      Workaround

      Use the full URL for the linked JIRA Issue (ie: https://site.atlassian.net/browse/Issue-Key)
      or
      Search for the JIRA Issue through the "Insert JIRA Issue/Filter" macro browser

              Unassigned Unassigned
              scranford Shawn C
              Votes:
              11 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: