What is the correct way to find items that do not include a specific link?

Ron Feldman June 23, 2021

When I run this query I get 64 results, as expected:

project = PGE and issuetype = Story and "Epic Link" = PGE-1574 and Sprint = 182

When I run this query, which adds the issueLinkType clause, I get 0 results, though I was expecting 64 results.

project = PGE and issuetype = Story and "Epic Link" = PGE-1574 and Sprint = 182 and issueLinkType != "is blocked by"

 

This clause is taken from the JQL fields documentation.

2 answers

2 accepted

3 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 23, 2021

Still researching, but I think this might be relevant.

https://jira.atlassian.com/browse/JRACLOUD-73640

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 23, 2021

Also, do the child stories all have at least 1 issue linked to them?

If the child stories have no issues linked to them then you need to use this filter to include those in your output:

AND (issuelinktype != "is blocked by" or issuelinktype is empty)
Ron Feldman June 23, 2021

Hey, adding "or issuelinktype is empty" resolved it!

 

Thanks very much!

0 votes
Answer accepted
Bill Sheboy
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.
June 23, 2021

Hi @Ron Feldman 

Would you please provide your complete JQL statement?  That may reveal more information about what is happening.  Thanks!

Best regards,

Bill

Ron Feldman June 23, 2021

Thanks, I have updated my original post with the query that gives expected results and the query that gives unexpected results.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events