Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,521
Community Members
 
Community Events
184
Community Groups

JQL for Blocked issues not having "Blocked By" linked issues

I want the Jira issues which are having status Blocked.  But does not have any linked issue as "Blocked By" link.

How can I find such issues using JQL?

1 answer

1 accepted

0 votes
Answer accepted

Try something like:
status in ("Blocked") and issueLinkType not in ("Blocked By")

This doesn't work.

These are the possible scenarios

1.  If issue is blocked and there is no linked "blocked by".  It show this issue.  It correct.

2. If issue is blocked and there is only link "blocked by".  It doesn't show this issue.  It is correct.

3. If issue is blocked and there is link "blocked by" and also another link e.g. "is parent of".  It show this issue.   I am expecting the issue should not display as there is a "blocked by" link exist.   I want the solution that cover this scenario.

 

Expected result is any issue having linktype "blocked by" should not be shown irrespective of it has other link exist or not....

Kelly Arrey
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.
Apr 25, 2023 • edited

Hi @Yatin Shingala, don't ask me how I know this.

  1. Save this as a filter - let's call it "has blocked by link":

    issueLinkType = "Blocked by"

  2. Write the following filter which calls the above filter:

    status = Blocked AND (filter != "has blocked by link" OR issueLinkType is EMPTY)

See JRACLOUD-73640  for more info.

Thanks @Kelly Arrey , 

It is working

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events