Forums

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

Write a complicated filter - when a specific linkage is used across different projects

Deleted user January 24, 2023

This is the filter I want to write.

- Search for any stories that have the linkage...

 is blocked by, blocks

AND I only want those results where the two stories linked are from DIFFERENT projects.

Does anyone know how to write a filter like that?

3 answers

2 accepted

0 votes
Answer accepted
Jack Brickey
Community Champion
January 24, 2023

Hi @[deleted] ,

you cannot achieve that OOTB. Is that a constraint here? If so you could consider leveraging Excel/Sheets to post-process your linked results to exclude "linked but in same project".

0 votes
Answer accepted
Fabian Lim
Community Champion
January 24, 2023

Hi @[deleted]

I don't think this is possible with jql out of the box. 

You may want to look into eazybi reporting where you can put extra logic or some advanced jql plugins.  

Good luck.

0 votes
mauricio.groth
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.
January 25, 2023

Hi @[deleted]

I’m Maurício, a support engineer at Digital Toucan and I’m here to help you.

Unfortunately, using JQL of Jira, you’ll not be able to do it.

In the app where my team works, JQL Search Extensions for Jira, you can use this query to find all your stories that have links(blocks or is blocked by) that have a different project..

issue in linkedIssuesOfQuery("project != X") and linkType in (blocks, "is blocked by") and project = X and type = Story

Please contact our support if you have any other questions about this query. 

We’ll be happy to help you!
Best regards,
Maurício

Suggest an answer

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

Atlassian Community Events