When using the REST API, with a POST to /rest/api/2/search and using an ampersand in the search criteria of the JQL, i.e. "component = \"Research & Architecture\" "
I get the following error.
"The value 'Research %26 Architecture' does not exist for the field 'component'."
Is there a way to use the REST api without the values being encoded?
Nope. You have to convert the ampersand to the unicode value %26 first.
Depending on the scripting language you're using, you can probably declare the ampersand in the string literally using something like \& or && or similar and it will be converted for you.
Change the name of the Component to "Research and Architecture" and the problem's solved :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.