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
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

860 views 3 9
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