Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-66504

Short-circuit JQL evaluation

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Answered
    • None
    • JQL
    • None
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      JQL does not appear to short-circuit evaluation which causes more issues to be considered than necessary. We recently noticed how impactful this is using "was" because it queries the database and not the index. Consider:

      project = ABC AND status was Resolved

      In our observation this seems to evaluate to all resolved issues in the entire instance, not just those in project ABC. JQL would evaluate much faster if it took the result of each clause and reduced the scope of issues that the next clause was evaluated against.

      Attachments

        Activity

          People

            vkharisma vkharisma (Inactive)
            b043998941a9 Pepe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2m
                2m
                Remaining:
                Remaining Estimate - 2m
                2m
                Logged:
                Time Spent - Not Specified
                Not Specified