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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to write a query to filter linked issues from the project called Testing

How to write a query to filter linked issues from the project called Testing

1 answer

0 votes
Andy Heinzer Atlassian Team Apr 17, 2019

Hi Kedar,

If you have Jira Server 8.0 or higher, then you should be able to do this natively.  In 8.0 Jira introduced the JQL function called Issue Link Type.   For example you could use a JQL such as

project=Testing AND issueLinkType in (blocks)

This would return only issues in that project that have at least one link of that specific type.

If you're not on Jira Server 8 or higher, then it might still be possible to do this with a 3rd party plugin for Jira.  I know there are a couple of these that can help, for sure the Scriptrunner plugin has been able to do this for some time.

I hope this helps.

Andy

I don't think it's what the user is asking. I believe I am searching for something similar. All conditions should be true (AND):

  • project is ABC
  • issue blocks another issue
  • blocked issue is in project DEF

I'm struggling to find an answer. Looks like there is a JQL function linkedIssues() which will take the linked issue and a link type, but doesn't seem to accept a glob or range like `issue in linkedIssues(DEF-*,"blocks")`
https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-functions/

Your statement is good, but it covers only 2 parts of the sought functionality, at least as I see it.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you