Forums

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

How to fetch all the issues whose inward issueLinkType = "blocks"?

Deepak Kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 27, 2023

Actually when I am writing in jql issueLinkType = "blocks", It is fetching all the issues whose inward issueLinkType = "blocks" and issueLinkType = "is blocked by". But I only want to fetch those issues whose inward issueLinkType = "blocks". What should I write in jql for this?

2 answers

2 accepted

1 vote
Answer accepted
Jack Brickey
Community Champion
March 27, 2023

Have you tried the following?

issueLinkType = "blocks" And issueLinkType != "is blocked by"
0 votes
Answer accepted
Trudy Claspill
Community Champion
March 27, 2023

Hello @Deepak Kumar 

Welcome to the Atlassian community.

Referring to the documentation for using the issueLinkType criteria for searching:

https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-fields/#Issue-link-type

When searching issueLinkType, Jira searches all three properties [Name, Inward Description, Outward Description]. This can mean you're unable to isolate issues with a specific inward or outward description if the link type's name and either of the descriptions are the same. This is the case for the default "Blocks" link type, where the name and outward description are "blocks".

If you need to be able to search specifically for issues with an outward description of "blocks", for example, a Jira administrator must change the name of the link type to something else. If you're a Jira admin, take a look at Configuring issue linking for more info.

Suggest an answer

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

Atlassian Community Events