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

JQL - Add wildcard functionality to versions

    XMLWordPrintable

Details

    • 110
    • 5
    • Hide
      Atlassian Update – 13 April 2018

      Hi everyone,

      We're glad to announce that wildcard functionality for version fields was shipped with Jira Software 7.9. As some of you may have already noticed, 7.9 was released this week, and you can download it here.

      What we've built

      Whether it’s 9, 9.1, or any other derivative you’re looking for, you can now find it with a simple query that uses the ~ operator and an asterisk to indicate the location of unknown characters. 

      Version fields are:

      • Affected version
      • Fix version
      • Custom fields that use the "Version Picker".

      Note that for version fields, the CONTAINS “~" operator returns an exact match. For example, to find the version "9.0" only, you would use the following query:

      fixVersion ~ “9.0”

      To find all issues where the Fix Version field contains a wild-card match for version "9", e.g. 9.1 or 9.0.1:

      fixVersion ~ "9*”

      The DOES NOT CONTAIN "!~” operator can be used to exclude a specific version in your query.

      For example, to find issues where Fix Version is not "9.0", you should use the following query:

      fixVersion !~ “9.0"

      To find all issues where the Fix Version field does not contain any version from the 9.x line:

      fixVersion !~ "9.*"
       
      You can read more in the article on Advanced searching here.

      To read about other capabilities we added in Jira Software 7.9, have a look at our release notes.

      Cheers,
      Katarzyna Derenda
      Product Manager, Jira Server

      Show
      Atlassian Update – 13 April 2018 Hi everyone, We're glad to announce that wildcard functionality for version fields was shipped with Jira Software 7.9. As some of you may have already noticed, 7.9 was released this week, and you can download it  here . What we've built Whether it’s 9, 9.1, or any other derivative you’re looking for, you can now find it with a simple query that uses the ~ operator and an asterisk to indicate the location of unknown characters.  Version fields are: Affected version Fix version Custom fields that use the "Version Picker". Note that for version fields, the CONTAINS “~" operator returns an exact match . For example, to find the version "9.0" only, you would use the following query: fixVersion ~ “9.0” To find all issues where the Fix Version field contains a wild-card match for version "9", e.g. 9.1 or 9.0.1: fixVersion ~ "9*” The DOES NOT CONTAIN "!~” operator can be used to exclude a specific version in your query. For example, to find issues where Fix Version is not "9.0", you should use the following query: fixVersion !~ “9.0" To find all issues where the Fix Version field does not contain any version from the 9.x line: fixVersion !~ "9.*"   You can read more in the article on Advanced searching here . To read about other capabilities we added in Jira Software 7.9, have a look at our  release notes . Cheers, Katarzyna Derenda Product Manager, Jira Server
    • 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

      With the release of JIRA 4.3, users can now specify a fix or affects version with a wildcard symbol in the Quick Search box (eg ff:4.*). Would be great to have the same functionality in JQL.

      Attachments

        Issue Links

          Activity

            People

              lvysochyn@atlassian.com Leo
              jsloat John Sloat (Inactive)
              Votes:
              302 Vote for this issue
              Watchers:
              170 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: