Forums

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

JQL query (All issues from 1 project and certain issues from a 2nd project)

Brian
Contributor
December 17, 2018

Is it possible to write a JQL query that shows all issues from Project A and only certain issues from project B?  Something like show me everything in Project A and only issues assigned to Mary in Project B.

1 answer

3 votes
Nic Brough -Adaptavist-
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.
December 17, 2018

Try the "advanced search", specifically in this case:

Project = A or (project = B and assignee = Mary)

Brian
Contributor
December 26, 2018

Thanks Nic.  I didn't understand the use of OR, I thought that it meant either Project A issues or Project B issues but don't show both.

 

I ended up with this query.

 

project in ProjectA OR (project = ProjectC AND assignee = ru89980) ORDER BY key DESC"

Suggest an answer

Log in or Sign up to answer