Versions Compared

Key

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

Description:

Excerpt

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 determine the projects affected by the given expression.
See Pattern Java Class for further information.


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
project IN projectMatches("LATAM.*")


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

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


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

Code Block
languagesql
themeConfluence
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)
·
Jira project search using wildcard (by Tripp Johnson at ATLASSIAN Community)






JQL Function Reference

Page Tree
rootJQL Function Reference
startDepth2