Versions Compared
compared with
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.
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':
Code Block | ||||
---|---|---|---|---|
| ||||
"QAproject Team" IN projectMatches("LATAM.*") |
• Find issues in project that their name contains 'Academy':
Code Block | ||||
---|---|---|---|---|
| ||||
"Devproject Team" IN projectMatches(".*Academy.*") |
• Find issues in projects that ther name ends with 'EMEA':
Code Block | ||||
---|---|---|---|---|
| ||||
"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 | ||||
---|---|---|---|---|
|