Version JQL Functions

Below are the JQL functions available for semantic versioning, along with examples and descriptions:

JQL Function

Examples

Description

JQL Function

Examples

Description

betweenVersions(startVersionName, endVersionName, projectIdOrKey)

fixVersion in betweenVersions("prefix-v0.9.0", "prefix-v1.0.3", "TEST")

 

affectsVersion in betweenVersions("prefix-v0.9.0", "prefix-v1.0.3", "TEST")

All issues with “fixVersion” between prefix-v0.9.0 and prefix-v1.0.3

 

All issues with “fixVersion” between prefix-v0.9.0 and prefix-v1.0.3

geVersion(versionName, projectIdOrKey)

fixVersion in geVersion("prefix-v0.9.0", "TEST")

 

All issues with “fixVersion” greater than or equal to prefix-v0.9.0

 

All issues with “affectsVersion” greater than or equal to prefix-v0.9.0

gtVersion(versionName, projectIdOrKey)

 

All issues with “fixVersion” greater than prefix-v0.9.0

 

All issues with “affectsVersion” greater than or equal to prefix-v0.9.0

ltVersion(versionName, projectIdOrKey)

 

All issues with “fixVersion” less than prefix-v0.9.0

 

All issues with “affectsVersion” less than prefix-v0.9.0

leVersion(versionName, projectIdOrKey)

 

All issues with “fixVersion” less than or equal to prefix-v0.9

 

All issues with “affectsVersion” less than or equal to prefix-v0.9

The last argument projectIdOrKey is required at the moment. It may be optional in the next releases to support querying among multiple projects.