projectMatches()
- Jack Nolddor (Unlicensed)
- Jack Nolddor
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 determine the projects affected by the given expression.
See Pattern Java Class for further information.
Syntax | projectMatches(regex) |
Available since | v1.0.0-RELEASE |
Supported fields | Project |
Supported operators |
|
Unsupported operators |
|
Examples:
• Find issues in projects that ther name starts with 'LATAM':
project IN projectMatches("LATAM.*")
• Find issues in project that their name contains 'Academy':
project IN projectMatches(".*Academy.*")
• Find issues in projects that ther name ends with 'EMEA':
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