Versions Compared

Key

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

Description:

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

Note:
This function uses Java native String.matches() method internally to determite the groups affected by the given expression.
See also, Pattern Java Class.


SyntaxprojectMatches(regex)
Available sincev1.0.0-RELEASE
Supported fieldsProject
Supported operatorsIN , NOT IN
Unsupported operators

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

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

Examples:

• Find issues in projects that ther name starts with 'LATAM':

Code Block
languagesql
themeConfluence
"QAproject Team" IN projectMatches("LATAM.*")


• Find issues in project that their name contains 'Academy':

Code Block
languagesql
themeConfluence
"Devproject Team" IN projectMatches(".*Academy.*")


• Find issues in projects that ther name ends with 'EMEA':

Code Block
languagesql
themeConfluence
"IT Team"project IN projectMatches(".*EMEA")

Real World Use Cases:

· JRASERVER-43398 - Allow wildcard or '~' symbol to search for project/category name in JQL (by Ismael Olusula Jimoh)





JQL Function Reference

Page Tree
rootJQL Function Reference
startDepth2