Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Deleted user
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

1 accepted

0 votes
Answer accepted
cofarrell
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 Champions.
February 14, 2014

Hi Martin,

I'm afraid it's an oversight. Who wouldn't want to create branches? :)

In the short term you can, if you so desire, disable the entire "Atlassian JIRA - Plugins - Development Integration Plugin" plugin or the "Create Branch CTA Link Factory" module in "Manage add-ons". This will have the downside of disabling create branch for projects that might be linked to Stash.

If this becomes a problem feel free to raise an improvement.

Cheers,

Charles

martin.cooper
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 16, 2014

Hi Charles - :) I love branching - but not a lot of good creating a branch in Git / Stash when my project is in SVN / Fisheye ;)

I've got a support call in on this as well as its clear the Dev Tools features assume only 1 type of VCS in use as such the Source / Commit tabs on the projects and issues, as well as this create branch feature do not work as expected when both fisheye and stash are connected to JIRA.

Disabling the whole feature is not an option as we have projects using both.

Project level configuration via the project links seems an obvious way to go here, so will pursue through support ticket and get an enhancement raised.

Thanks for reply

Martin

David Skreiner
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 Champions.
December 7, 2015

"disable the entire "Atlassian JIRA - Plugins - Development Integration Plugin" plugin or the "Create Branch CTA Link Factory" module in "Manage add-ons"" Neither of these options exist.

Mark Ryan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 3, 2016

Hi Martin

We have exactly the same issue here ... some JIRA projects use Bitbucket and some use Subversion (via Fisheye).

Did anything come of your support call to Atlassian on this? Is there a ticket to vote for?

Thx

Mark

 

 

Nathaniel Crutcher
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 2, 2018

Hi David,

Under manage plugins, change the filter from "user-installed" to "Application components" or "All". "Atlassian JIRA - Plugins - Development Integration Plugin" is an "application component".

From there you'll click through to the module list and hovering over it will give you a disable (or enable) option.

Suggest an answer

Log in or Sign up to answer