Reputation: 3
Is there a way to find issues linked to issues in other projects without specifying a specific project? I need to find all issues, from all projects, linked to issues in other projects.
I know that this will find issues in other projects if I can give the issue and project:
issue in linkedIssues(XYZ-000) AND project = 'ABC'
I need a method that works dynamically so I don't have to specify issue or project. I don't want the results to return issues that only have links within their own projects.
Upvotes: 0
Views: 2284
Reputation: 730
Install the JQL Tricks plugin (it is not free, but you can use the evaluation) then try with:
issue in haslinks()
From the official documentation:
hasLinks([count],[linkType],[query])
Function To find all issues that has links and optionally for a count, link type or matching a query.
Since : v1.0 (Support for query is added in 5.3.10)
Usage/Examples:
issue in hasLinks() - Returns all the issues with atleast one link (inward or outward)
Upvotes: 1