issueFunction in subtasksOf Query

Hi - I get data returned when running this query:

project = "XXX" AND type = sub-task AND status != closed AND issueFunction in subtasksOf('status = closed and issuetype = Task')

However, I also want to filter out where Fix Version = Rejected on the Tasks.

When I try the below it returns nothing when I know it should:

project = "XXX" AND type = sub-task AND status != closed AND issueFunction in subtasksOf('status = closed and issuetype = Task and FixVersion !=Rejected')

tried this and it returns results but I need it the opposite way around:project = "XXX" AND type = sub-task AND status != closed AND issueFunction in subtasksOf('status = closed and issuetype = Task and FixVersion =Rejected')

 

Any help much appreciated

2 answers

Try to use parent in issuesParents("") like this one:

issueFunction in subtasksOf('status = Закрыт') and parent in issuesParents("Resolution = Done")

P.S.

I do not have issues with FixVersion since I filter on resolution

thanks for the reply - I get this error though- Unable to find JQL function 'issuesParents...any ideas?

You can use issuesParents only after parent statement, namely as "parent in issuesParents("Resolution = Done")". Type "parent in" and JIRA automatically help you to select this function

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

62 views 0 4
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you