securityLevelMatches()
- Jack Nolddor
Description:
Perform searches based on issue security levels 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.
Syntax | securityLevelMatches(regex) |
Available since | v1.6.0-RELEASE |
Supported fields | Security Level |
Supported operators |
|
Unsupported operators |
|
Examples:
• Find issues with a security level set to a level which their name starts with 'Reporter' i.e. 'Reporter Only', 'Reporter and Internal Team', etc:
level IN securityLevelMatches("Reporter.*")
• Find issues with a security level set to a level which their name contains 'Leads', i.e. 'Team Leads Only', 'Developer Leads and Internal Team', etc:
level IN securityLevelMatches(".*Leads.*")
• Find issues with a security level set to a level which their name ends with 'Team' i.e. 'Only Support Team', 'Reporter and Financial Team', etc:
level IN securityLevelMatches(".*Team")
JQL Function Reference