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 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

51 views 2 2
Join discussion

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