Versions Compared

Key

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

Description:

Excerpt

Perform searches based on versions which their name match with the provided regular expression.

Note:
This function uses Java native String.matches() method internally to

...

determine the

...

versions affected by the given expression.
See

...

Pattern Java Class for further information.


SyntaxversionMatches(regex)
Available sincev1.0.0-RELEASE
Supported fieldsAffectedVersion, FixVersion, custom fields of type Version
Supported operatorsIN , NOT IN
Unsupported operators

= , != , ~ , !~ , > , >= , < , <=

IS , IS NOT , WAS , WAS IN , WAS NOT , WAS NOT IN , CHANGED

Examples:

• Find issues affected by versions that

...

their name starts with 'v1

...

' i.e. 'v1.1.0', 'v1.

...

2', 'v1.1.6', etc:

Code Block
languagesql
themeConfluence
affectedVersion IN 

...

versionMatches("v1

...

.*")

...


• Find issues fixed in versions that

...

their name contains 'alpha':

Code Block
languagesql
themeConfluence
fixVersion IN versionMatches(".*alpha.*")

...


• Find issues affected by versions that

...

their name

...

ends with 'SNAPSHOT' i.e. 'v1.1-SNAPSHOT', 'v1.5-NIGHTLY_SNAPSHOT', etc:

Code Block
languagesql
themeConfluence
affectedVersion IN 

...

JQL Function Reference

Page Tree
rootJQL Function Reference
startDepth2