I have a project called "Scheduling & Listing" and have a query that runs just fine in JIRA but when I try to use that same query in an escalation service I get the message:
Error in the JQL Query: The quoted string 'Scheduling ' has not been completed. (line 1, character 11)
Presumably I need to escape the ampersand in some way but I have tried all the methods I know of without success.
If I leave the project selection out of the JQL then the escalation runs ok but I need to restrict this service to just one project.
Any clues?
Try using its ID rather than its name (e.g. project = 10800). One way to find that value: go into the project's settings (cog icon in the lower left) and then hover over the Details link in the left sidebar.
Thanks, using the id works which gets round my immediate problem so I have accepted this answer. I'm sure there must be a way to escape the ampersand but this is an acceptable workaround, thanks. As I guess would be writing a saved filter and using 'filter = 123' which I had considered but did not want to do for ease of maintenance reasons.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, here we go - use the Unicode representation of the ampersand character:
project = "Scheduling \u0026 Listing"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all, this should work as is:
project = "Scheduling & Listing"
Simply use double quotes within the name of your project,
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was using double quotes - it still fails when used in the query of an escalation service.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.