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

fixVersion matches incorrectly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Handled by Support
    • Icon: Low Low
    • None
    • 5.0
    • JQL
    • JIRA Standalone with builtin JDK on Ubuntu 10 64bit

      I have created the following filter:

      assignee=currentUser() 
      AND fixVersion=earliestUnreleasedVersion(MYPROJECT) 
      AND status not in(Closed, Resolved) 
      

      When I run it most of the issues are really from the correct version, but some are leftover tickets from the previous version (which has already been released). We use GreenHopper, and this query is used to view all items in the current sprint. So, the expected Fix Version is Version 1.0, Sprint 2, but some issues have the Fix Version Version 1.0 Sprint 1. No matter what the specific versions are, I would have expected all tickets matched by that query to have the same version.

      When I add the following condition to the query:

      fixVersion!=latestReleasedVersion(MYPROJECT)
      

      The unwanted issues disappear, and I get exactly what I wanted.

              Unassigned Unassigned
              1e8e4efe5872 Björn Pollex
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: