Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Description:
Excerpt |
---|
Perform searches based on versions which their name match with the provided regular expression. Note: |
Syntax | versionMatches(regex) |
Available since | v1.0.0-RELEASE |
Supported fields | AffectedVersion, FixVersion, custom fields of type Version |
Supported operators |
|
Unsupported operators |
|
Examples:
• Find issues affected by versions that ther their name starts with 'v1' i.e. 'v1.1.0', 'v1.2', 'v1.1.6', etc:
Code Block | ||||
---|---|---|---|---|
| ||||
affectedVersion IN versionMatches("v1.*") |
• Find issues fixed in versions that ther their name contains 'alpha':
Code Block | ||||
---|---|---|---|---|
| ||||
fixVersion IN versionMatches(".*alpha.*") |
• Find issues affected by versions that ther their name starts ends with 'SNAPSHOT' i.e. 'v1.1-SNAPSHOT', 'v1.5-NIGHTLY_SNAPSHOT', etc:
Code Block | ||||
---|---|---|---|---|
| ||||
affectedVersion IN versionMatches(".*SNAPSHOT") |
Real World Use Cases:
· JRASERVER-24152 - JQL - Add wildcard functionality to versions (by John Sloat)
· JRASERVER-30099 - JQL: Allow fuzzy matcher for versions: fixVersions, affectedVersions (by Mark Michaelis)
· JRASERVER-26403 - To search for versions: Affects Version of Fix Version with a commom characters at the start of the version (by Honeywell JIRA Admin)
JQL Function Reference
Page Tree | ||||
---|---|---|---|---|
|