The following JQL function is throwing errors:
1. JQL : issueFunction in subtasksOf("resolution = Fixed or Completed")
Error : NoViableAltException(-1@[]).
2. JQL : issueFunction in subtasksOf("resolution = 'Fixed or Completed'")
Error : No issues were found to match your search.
The error is coming for all the values of field Resolution where the value contains more than one word such as Won't Fix, Incomplete Description, Cannot Reproduce, Won't Do, Fixed or Completed.
Our JIRA Instance details:
--------------------
JIRA version: 6.3.12
JIRA tomcat heap size: 16 GB
JQL Tricks plugin version: 5.3.3
Script Runner plugin version: 3.0.6
You need to test the inner query separately - this is not going to work on its own, so it won't work as a parameter:
resolution = Fixed or Completed
This should totally work:
issueFunction in subtasksOf("resolution = 'Fixed or Completed'")
"No issues found" is not an error, maybe there are no results for that query?
Try Udo's suggestion and see if that gives the same results.
Udo's example of Won't Fix not working is because it contains a single quote, but your one doesn't.
Ha, you are correct. It works with "Cannot Reproduce"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks for confirming ;-) Udo - can you linkedin with me? "Jamie Echlin".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Always a pleasure confirming good anwers. Thanks for invitation, however I'm only on Xing and have no plans going to linkedin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Totally fair enough, I forgot that linkedin is not big in Germany. I just wanted your email, perhaps you could send it to me at firstname.lastname@gmail.com , where first and last is Jamie and Echlin ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mail was sent ;-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jamie Echlin,
There are results present for JQL -
issueFunction in subtasksOf(
"resolution = 'Fixed or Completed'"
)
and got results more than 9K with most of them having Resolution = Fixed or Completed
I have tried creating a custom filter (ResolutionFilter)
ResolutionFilter --> resolution = "Fixed or Completed"
and then executed the below query and got the result "No issues were found to match your search"
Project = RISK AND issueFunction in subtasksOf("Filter = ResolutionFilter")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> and got results more than 9K with most of them having Resolution = Fixed or Completed Do you mean most of the parent issues had that resolution? What results do you get for: Project = RISK AND resolution = 'Fixed or Completed' ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you mean most of the parent issues had that resolution? Yes Project = RISK AND resolution = 'Fixed or Completed' - Returns no Result (Which again seems to be wrong behaviour)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> Returns no Result But there's your problem... so this is not related to the subtasksOf function, which seems to be doing the right thing. Try reindexing all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I get similar errors (used "Won't Fix")
Workaround: create a filter (FilterA)
resolution = "Fixed or Completed"
then use
issuefunction in subtasksof("Filter = FilterA")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is the way to go - not sure why the SubtasksOf is so temperamental.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.