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.
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")
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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!
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