Is there a way to query for all issues with a particular link type?
For example, let there be a dependency link where an issue can "depends on" another issue. Is there a query to find all issues that depend on some other issue (aka. all issues with the "depends on" link)?
I know there is the linkedIssues (key, linkType) function that returns the key of all issues that have the linkType with the issue with key. I want to find all issues with a linkType with any issue.
Thanks!
Link > JIRA Issue > Choose issue link type 'blocks' or 'is blocked by'. Create a saved filter which cuts across all the projects you want visibility on and that it is filtering dependencies: Issues > Search for issues > Enter filter query.
There are two types of searches in Jira: basic and advanced. Basic searches, like the ones above, present you with a set of forms that you can fill in, such as Project name, Issue Type, Status, and Assignee. Basic search can be useful for getting a high-level view of your issues and status.
Jira supports single and multiple character wildcard searches. To perform a single character wildcard search, use the " ? " symbol. To perform a multiple character wildcard search, use the " * " symbol.
To use the basic search: Navigate to Issues (in header) > Search for issues, then enter your search criteria. Tip: If the advanced search is shown instead of the basic search, click Basic next to the icon. The advanced search is the most powerful of the three search methods.
You can use Script Runner plugin - Edit: It unfortunately is no longer free. The last version before 4.0 still is, though. Details here https://www.adaptavist.com/doco/display/SFJ/Downgrade+ScriptRunner
It sports a ton of incredibly useful functions, one of these is hasLinks()
Usage example:
issueFunction in hasLinks("blocks") OR issueFunction in hasLinks("is blocked by")
You can hack it with Craftware JQL's linkedIssuesFromFilter, where the filter would be "all issues"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With