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

queries regarding relatedIssuesByQuery

Hello  ,

I am using relatedIssuesByQuery function to get the results that I wanted . 

project = TEST1 AND type in ("Problem Report") AND status not in ("Closed","Verified","Solved",Rejected)  AND Issue in relatedIssuesByQuery("project = TEST1 AND type = \"Contributor Task\" AND status in (Verified, Rejected) and component in (\"TEST1_O\", \"TEST1_T\")", "Issue in parentsOf(\"key = SELF_VALUE\")") 

TEST1_O,TEST2_T are the components of TEST1, I want to fetch all the tickets of TEST1 where the TEST1_O and TEST2_O are in Verified, Rejected, this works well, however sometimes there may be two components level tickets of TEST1_O and TEST2_O in single TEST! ticket, so I want to check if all the TEST1_O and TEST1_T are in the state mentioned in inner query 

0 answers

Suggest an answer

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

Partner Webinar Opportunities: January 2022

Hi everyone 👋, I really like the format of the webinar opportunities summary that @Jimmy Seddon posts monthly on the Welcome Centre group. It's a great place to go to check that you didn...

139 views 3 11
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