why i cannot use JQL issuesSubtasks,issuesParents with "AM utils"

after install "AM utils" successfully, i found i cannot use JQL issuesSubtasks,issuesParents.

i want to list all subbtasks of critical parents, my JQL is "issuesSubtasks(priority=Critical)",

and i got an error------- "Error in the JQL Query: Expecting operator but got '('. The valid operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN', 'IS' and 'IS NOT'. (line 1, character 15)"

AM utils Version is 1.3.6,and we are using jira7

please help me , thanks a lot!!!

 

4 answers

I think I figured it out.  You have to use the syntax

issues in issuesParents("Priority=Critical")

You can combine that with the rest of the JQL, but you must use the "issues in" format for this.  Also, I had to use issuesParents() when I thought what I wanted was issuesSubtasks(), so try both to get what you want!

Hello, should be:

issuesSubtasks("priority=Critical"). Quotes inside function

Are you the author of this add-on?  I can't get this work either.  Add-on is installed, but adding issuesSubtasks("priority=Critical") to a JQL query gives the error shown.  It's like JQL isn't recognizing the new function and can't handle the parentheses.

Works as Andrey said - JQL should be inside the quotes "",
As you found out in your recent answer.
And I suggest author to provide some more examples to wiki - did same mistake.
Great plugin!)

did you fix this?

not yet, sill waiting for the anwser

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,264 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot