Fix Jira username references in Jira macros on Confluence pages

XMLWordPrintable

    • 1

      Issue Summary

      Jira username references in Jira macro JQL queries are not translated to the appropriate Atlassian account id following migration to cloud.

      Steps to Reproduce

      1. Jira DC - Create a number of users in Jira Data Center, for example, Hiroko Tanaka with username hirtan2 and email hiroko.tanaka@example.jp.
      2. Confluence DC - create a page with a Jira macro (Jira Issues Macro). It should return multiple issues and have a JQL referencing the user, for example:
        project = CHAR AND resolution is empty AND assignee = hirtan2
        
        project = DEL and labels = review AND assignee IN (hirtan2, yamada.taro)
        

        Note that users are referred to by Jira username, and are valid JQL.

      3. Jira DC - migrate the Jira Data Center instance to Jira Cloud
      4. Confluence DC - migrate the Confluence Data Center instance to Confluence Cloud, ensuring that the page above is in scope.
      5. Run link fixing and Jira macro repair

      Expected Results

      JQL in the pages above are converted to the valid format:

      project = CHAR AND resolution is empty AND assignee = 82b44ebf-b8dc-45e2-ba87-4ec3887b2089
      
      project = DEL and labels = review AND assignee IN (82b44ebf-b8dc-45e2-ba87-4ec3887b2089, bbb2f911-38bb-46e3-abb9-14434562de1b)
      

      Actual Results

      The JQL inside the Jira macro is not updated.

      Workaround

      There is no known workaround

              Assignee:
              Unassigned
              Reporter:
              Jimmy V (Atlassian)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: