If the Priority Name is only a Number, Issue Navigator will return issues matching its Name or ID

XMLWordPrintable

    • 4
    • 6

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

      Notes

      This issue was cloned from a bug that was closed as a Won't Fix: JRACLOUD-37238 – If the Priority Name is only a Number, Issue Navigator will return issues matching its Name or ID

      I have created this ticket to track the confusion caused by this issue.

      Steps to replicate:

      1. Modify the default priorities to match the below:
         id | sequence |  pname  
        ----+----------+---------
         1  |        1 | Blocker
         2  |        2 | 1
         3  |        3 | 2
         4  |        4 | 3
         5  |        5 | 4
        
      2. Use the Issue Navigator to search for:
        priority = "3"
        

      Actual Behavior:

      JIRA will return any issues with priority = 2 or 3 as the ID of priority '2' is 3.

      Expected Behavior:

      JIRA would see that "3" (with quotes) is a priority name and would only return results by the name. Alternatively, would show a message explaining why it is returning both.

      Workaround:

      • Use the following to search:
         priority = "3" AND priority != "2"
        
      • Or rename the priorities (e.g.: "Level 3").

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

                Created:
                Updated: