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

Complex JQL query

Hello Team,

1) I have a project ABC which has links to issues in project XYZ and EFG. I would like to query and find out all the issues in both XYZ and EFG which are linked to issues in project ABC. Is it possible have a nested query or something? I know this is possible by using something like project = "XYZ" and issue in linkedIssues("ABC-123"). But I would not like to get the linked issue using the project key but instead the project itself.

2) Also if we could use project = "XYZ" and issue in linkedIssues("ABC-123")  can the parameter for linkedIssues be a value of a variable rather than issue key itself.

1 answer

1 vote

Hello,

You can not create such a JQL query out of the box. You would need an add-on.

For example, you could use the JQL Search Extensions for Jira add-on.

https://marketplace.atlassian.com/apps/1214791/jql-search-extensions-for-jira?hosting=cloud&tab=overview

You JQL query would look like this:

project = ABC and issue in links("project = XYZ")

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Localize Smarter with the Transifex Integration for Bitbucket

Over 52% of internet users say obtaining information in their own language is more important than price and 75% of the world’s population doesn’t speak English. It’s no wonder then that successful gl...

253 views 0 3
Read article

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