Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

jql search all from project A plus project B with issueLink to A

Sean Batt March 10, 2020

Issues in project A can get resolved by work on an issue in project B. I would like to make a board with all issues in A with the issues in B that "relate to" an issue in A.

I'd like to be able to (project = A) or (project = B and issueLink ~ A-) but issuelink doesn't support ~

The docs almost suggest I could do (project = B and issueLink != A-1) as they say "with linked issues but not linked to a specific issue" but the test doesn't return issues with links at all.

Can anyone suggest a way to accomplish what I'm after?

Thanks.

Sean

2 answers

0 votes
Daniel Turczanski - JQL Search Extensions
Atlassian Partner
April 6, 2020

Hey,

You can do it with JQL Search Exensions

For example:

linkedByIssueProject="Project A"

 

You can find more in the documentation

Sean Batt April 7, 2020

That commercial product seems like it should work, but so does ordinary JQL from the documentation. I'm not prepared to run a free trial to find out for sure, let alone pay for it.

Thank you for telling me about your product, though.

0 votes
Thomas Magny-Garcia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 10, 2020

Hi @Sean Batt 
According to the accepted answer to this issue (https://community.atlassian.com/t5/Jira-questions/jira-query-issues-with-linked-issues/qaq-p/426769 ) and this doc ( https://confluence.atlassian.com/jiracoreserver/advanced-searching-fields-reference-939937719.html#Advancedsearching-fieldsreference-issuelinktypeIssuelinktype ) , if you are using on Jira Server 8.0.0, you should be able to use :

(project = B and issueLinkType = "relate to")

 

Hope this helps!

Sean Batt March 11, 2020

Even if I use "relates to" (note the "s", future self) I can't limit the issues returned to those in project B that relates to an issue in project A.
Thanks for the links, but the documentation link was the first place I went to (still open on my screen) and the "accepted answer" link is described in more detail in the first document. (Thank you anyway, though).

I must be missing something because querying between projects can't be that much of a left-field requirement, can it?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events