Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

All of the JQL operations listed in the below table has two modes of operation. They can either use the Version Graph of the project or they can use semantic versioning. Even if there is only one entry in the Version Graph table of the project they automatically switch to Version Graph Table. If you haven't defined any entry for a project in the Version Graph configuration, they automatically switch to semantic versioning. This is default operation mode. But you can override this and force "semantic versioning" for all of the below queries. In order to force semantic versioning you will need to pass an additional last argument to JQL function, "semantic". For example to force semantic versioning betweenVersions JQL you can use "affectsVersion in betweenVersions("1.0.0", " 2.0.0, semantic)" ) and it will return all versions using ordering of semantic versions even if you have defined version relationships on the "Version Graph" page. 

...

JQL

Examples

Description

betweenVersions(startVersionIdOrName, endVersionIdOrName)



Panel

project = ERP AND fixVersion in betweenVersions(“11.2.0”0, “11.0.0”0)

Panel

project = ERP AND affectsVersion in betweenVersions(“11.2.0”0, “11.0.0”0)

All issues with versions between 1.0.0 and 1.2.0.



geVersion(versionIdOrName)



Panel

project = ERP AND fixVersion in geVersion(“11.0.2”2)

Panel

project = ERP AND affectsVersion in geVersion(“11.0.2”2)

All issues with “fixVersion” greater than or equal to 1.0.2



gtVersion(versionIdOrName)



Panel

project = ERP AND fixVersion in gtVersion(“11.1.0”0)

Panel

project = ERP AND affectsVersion in gtVersion(“1.1.0”)

All issues with “fixVersion” greater than 1.1.0



leVersion(versionIdOrName)



Panel

project = ERP AND fixVersion in leVersion(“1.0.1”)

Panel

project = ERP AND affectsVersion in leVersion(“1.0.1”)

All issues with “fixVersion” less than or equal to 1.0.1



ltVersion(versionIdOrName)



Panel

project = ERP AND fixVersion in ltVersion(“1.0.1”)

Panel

project = ERP AND affectsVersion in ltVersion(“1.0.1”)

All issues with “fixVersion” less than or equal to 1.0.1