Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-2821

Unable to use ranking field in advanced search

    XMLWordPrintable

Details

    • Bug
    • Resolution: Answered
    • Medium
    • 5.6
    • None
    • None
    • None

    Description

      Setting up a simple issue search for open cases sorted by ranking produces the following query

      project = TIMEREG AND status in (Open, "In Progress", Reopened) ORDER BY cf[10000] ASC, key DESC

      trying to list only cases above a certain ranking doesn't work, auto complete inserts the fieldname Ranking

      the query

      project = TIMEREG AND status in (Open, "In Progress", Reopened) AND Ranking <= 15 ORDER BY cf[10000] ASC, key DESC

      returns nothing

      changing fieldname Ranking to cf[10000] still returns nothing

      Workaround

      Use a plugin that enables you to sort by rank in Advanced Search.
      Please check here:
      https://github.com/matthewlmcclure/jira-rankof-jql-function

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              1ad8caba-af0e-41c2-927f-d16ddf0dabc4 Deleted Account (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: