It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Execution of "issueFunction in subtasksOf("resolution = Fixed or Completed")" is not working fine.

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

8 answers

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"

thanks for confirming ;-) Udo - can you linkedin with me? "Jamie Echlin".

Always a pleasure confirming good anwers. Thanks for invitation, however I'm only on Xing and have no plans going to linkedin.

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

Mail was sent ;-)

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

Peter DeWitt Community Leader Oct 11, 2018

This is the way to go - not sure why the SubtasksOf is so temperamental.  

Hi Jamie Echlin,

There are results present for JQL -

issueFunction in subtasksOf("resolution = 'Fixed or Completed'")
because I tried to validate if there is any result for the above query or not, by executing the below query:
Project = RISK AND issueFunction in subtasksOf("status= closed")

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

 

> 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' ?

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)

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

0 votes

One easy solution to some of these is to turn the printer off, wait about 1 minute, then turn it back on. If the address on the printer and the driver don't match, that needs to be fixed manually.2. Verify that the printer is plugged in to your computer (for local printers) or that it has network connectivity. If the printer is a networked unit, Canon Pinter offline, double-check the link light on the back of the printer to make sure it’s flashing green.

0 votes

Follow the easy steps for HP LaserJet P1102W Wireless Setup. Reach the printer setup experts for HP LaserJet P1102w setup, if you face issues with setup.

0 votes

How to Solve Canon Pixma Printer Error Code B200

A simple answer for one of these parts is to hit the printer, hold for about 1 minute, walk out at that point. On the off chance that the location on the printer and driver does not coordinate, it must be manually fixed.

2. Confirm that the printer is connected to your pc (for a neighborhood printer) or has availability. In the event that a printer is an organized unit, the Canon printer is disconnected, double-check the connection light on the back of the printer to ensure that it is green.

0 votes

Connect with our high expertise specialists if you are looking for resolving issues like “How to Fix Brother Inkjet Printer”. “Dial brother printer assistance ‘we will support you resolve your problem over the phone that too at absolutely free of cost.

0 votes

Nice Content

Are you facing a problem with Fix Epson print head alignment with no numbers? Fix your Fix Epson print head alignment no numbers | hp printer error message problem with printhead Call us @ 1888-353-7373   

 

https://printer-help-usa.blogspot.com/2019/11/epson-print-head-alignment-no-numbers.html

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Introducing new features for Jira Software Cloud's roadmap

Hi Atlassian community, A few months ago, we offered a sneak peak of the new hierarchy view on the roadmap. Thank you for all the feedback (and excitement) and for helping us shape the direction of...

25,058 views 116 87
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you