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

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

Trying to get an issue and all other issues that are linked to it in a search

I need a query that brings back a current QueryID as well as any items that have this item in the relates to link or is loaded as a relates to in the item.

1 answer

1 accepted

0 votes
Answer accepted
Dave Liao Community Leader Feb 01, 2021

@Nick Brown - can you elaborate on "QueryID"? Have an example where this is being done, or can you describe what a successful query might look like?

Thanks Dave.

A successful query would return me the main issue and any issues that are loaded as related to in the main issue or where the main issue is loaded as a related issue in them.

I hope this makes sense.

Like Dave Liao likes this
Dave Liao Community Leader Feb 01, 2021

@Nick Brown - how about

issue in linkedIssues("CATS-21")

where CATS-21 is the issue you're interested in?

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Submit your Jira Service Management use case and win!

Hi everyone - in case you haven’t heard, we’re hosting the show of the century on November 10th: High Velocity: ITSM World Tour.     This virtual, concert-themed experience...

272 views 1 9
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