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

0 votes
Vasiliy Zverev Community Champion Dec 10, 2015

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?

Vasiliy Zverev Community Champion Dec 11, 2015

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
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

337 views 0 8
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