JIRA::REST Error[400 - Bad Request]: The character '%' is a reserved JQL character

Michele D_Armento September 22, 2020

Hi

 I run this query using perl script 

use JIRA::REST;

my $search = $jira->GET('/search', {
jql => "project = \"MNAND QRA ITALY\"",
maxResults => 1000,
});

 

generally it works correctly, but a couple of days ago it started to respond with

JIRA::REST Error[400 - Bad Request]:
- Error in the JQL Query: The character '%' is a reserved JQL character. You must enclose it in a string or use the escape '\u0025' instead. (line 1, character 8)

 

Which could be the issue???

 

1 answer

0 votes
Niranjan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2020

Hi @Michele D_Armento ,

Give it a try with this JQL value "project%20%3D"MNAND%20QRA%20ITALY""

Michele D_Armento September 22, 2020

It doesn't work ... same answer

Niranjan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 22, 2020

jql => 'project = \"MNAND QRA ITALY\"' How about this? Also ensure that you are using https

Michele D_Armento September 22, 2020

same issue

connection is https

it is couple of days that can't resolve jql ... before it worked

Suggest an answer

Log in or Sign up to answer