Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Description:
Excerpt | |||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Searches issues with / without remote issue links, additionally you can further refine your query by using a number expression. Note: A 'number expression' is made of an optional operator representing by its mathematical symbol and a (prositive/negative) number.
By default, this function only includes issues with at least one remote link even if you use the '<' or '<=' operator. |
Syntax | hasRemoteLinkshasLinks() |
Available since | v2.12.0-RELEASE |
Supported fields | Issue |
Supported operators |
|
Unsupported operators |
|
Examples:
• Find issues without remote issue links:
Code Block | ||||
---|---|---|---|---|
| ||||
issue NOT IN hasRemoteLinkshasLinks() issue NOT IN hasRemoteLinkshasLinks("> 0") |
• Find Stories that have three or more remote issue links
Code Block | ||||
---|---|---|---|---|
| ||||
type = Story AND issue IN hasRemoteLinkshasLinks(">= 3") |
• Find Features that have been blocked by at least two issues
Code Block | ||||
---|---|---|---|---|
| ||||
type = Feature AND issue IN hasLinks(">= 2", "is blocked by") |
• Find issues within the EMEA project having less than than 2 remote issue links or no remote no issue links at all.
Code Block | ||||
---|---|---|---|---|
| ||||
project = EMEA AND (issue IN hasRemoteLinkshasLinks("< 2") OR issue NOT IN hasRemoteLinkshasLinks()) |
Real World Use Cases:
· JRASERVER-28064 - The ability to query remote link data via JQL(by Michael Andreacchio25640 - JQL function for showing all issues linked to any issue by a given issue link type(by Chris Mountford)
· Using JQL to search for remote issue links (by Mark Terrel JQL query to see all Tests which are linked to all Stories in current Sprint (by SchuriiK at ATLASSIAN Community)
· Search issues which have remote links - how to? (by TamasSJQL Query Assistance - Linked Issues (by jprentice at ATLASSIAN Community)
JQL Function Reference
Page Tree | ||||
---|---|---|---|---|
|