The Jira Issues macro does not recognize alphanumeric project keys when added

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      The Jira Issues macro in Confluence does not recognize alphanumeric project keys when added, resulting in no issues being displayed.

      Example: PJ-12 (non-alphanumeric project key) and PJ2-12 (alphanumeric project key).

      For non-alphanumeric searches, the JQL query used is

      text ~ "PJ-12*" or summary ~ "PJ-12*" or key = PJ-12 ORDER BY created DESC
      

      However, for alphanumeric project keys, the query becomes

      text ~ "PJ2-12*" or summary ~ "PJ2-12*" ORDER BY created DESC
      

      which does not return any results for not including the "key" value.

      Steps to Reproduce

      1. Open a Confluence page.
      2. Insert the Jira Issues macro.
      3. Enter an alphanumeric project key (e.g., PJ2-12) in the search field.
      4. Change from Basic search to JQL to see the behavior.

      Expected Results

      The macro should display the issue associated with the alphanumeric project key on the page.

       

      Actual Results

      The macro displays a message indicating that no results were found.

      Workaround

      Use the legacy Jira Issues macro, which correctly recognizes and displays issues with alphanumeric project keys.

              Assignee:
              Unassigned
              Reporter:
              Matheus Z (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: