I tried:
project = Project1 AND linksIssueProject = Project2
But this resulted in the issues from Project2, not Project1. I also tried reversing this query:
project = Project2 AND linksIssueProject = Project1
and got no results. What am I doing wrong?
Even better would be to specify issues in Project1 that have an "implements" link type to issues in Project2
Hi,
Expect you are using JQL Search Extension addon for the JQL?
Their documentation here got some search examples: https://jqlsearchextensions.atlassian.net/wiki/spaces/SEARCH/pages/3375124/JQL+Reference+Cloud
I am not familiar with that addon, but looks likes "linksIssueProject" only filters linkedissues to the project mentioned.
I was able to generate the JQL in Scriptrunner though, the mentioned JQL returns only issues in TEST2 that are linked from TEST1
project = TEST2 AND issueFunction in linkedIssuesOfRecursiveLimited("project=TEST1",1)
For query to limit specific link direction (use 'hasLinkType' for Link type instead of 'hasLinks'):
project = TEST2 AND issueFunction in linkedIssuesOfRecursiveLimited("project=TEST1",1) AND issueFunction in hasLinks("Relates to")
Hopefully someone else can answer for the JQL Search Extension addon.
Thanks Knut. I might request scriptrunner at some point - we had it at a previous company so most of my search knowledge is based around it. I'm new to JQLSE. I worked around the problem by using "parentEpic in" and listing all 17 of the parent epics. Kludgy, but it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.