Forums

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

Advanced Searching - Left outer join?

Teressa Reed
Contributor
March 8, 2021

I need to create a left outer join query that pulls all epics and service requests - regardless of whether linked issues exist - and include any issuelinktype = blockers that do exist. 

Is this possible through issue search?

1 answer

0 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.
March 8, 2021

JQL is not SQL and it does not need joins as it sees every issue as a blob of data, as though there were only one table.

To get all the Epics and Service requests, you can use almost exactly what you've said -

issuetype in (Epic, "Service Request")

I'm not sure whether you mean you want the issues on the other end of a link, or just to be told that there is a link of type blocker.  JQL returns issues when you search though.

Suggest an answer

Log in or Sign up to answer