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,365,865
Community Members
 
Community Events
168
Community Groups

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
TAGS

Atlassian Community Events