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!!!

 

5 answers

This widget could not be displayed.

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!

This widget could not be displayed.

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!)

This widget could not be displayed.

did you fix this?

This widget could not be displayed.

not yet, sill waiting for the anwser

This widget could not be displayed.

For example, this would list all subtasks of PWB-3909 and PWB-2910:

issue in issuesSubtasks("Issue in(PWB-3909, PWB-2910)")

Works well here ;)

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

229 views 3 0
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