Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Jira Filter Rest API URL getting 400 status.

Bhagavan Goud February 15, 2022

Getting connection close and 400 status.Screenshot (198).png

 

AJS.$.ajax
({
url: baseUrl +'/rest/api/2/filter',
type: "POST",
timeout: 0,
dataType: 'json',
processData: false,
headers: {
"Content-Type": "application/json; charset=utf-8",
'Accept': 'application/json',
"Access-Control-Allow-Origin": "*"
},

data: JSON.stringify({"name":keyValue+"-BigPicture","jql":"\"Project ebm-papst\" = "+keyValue,"favourite":true}),

success: function (response)
{
filter={name:response.name,url:response.viewUrl,value:response.id};
getUserKey(filter,boxId);
console.log(JSON.stringify(response));
alert("box added");
},

error: function (response)
{
console.log(JSON.stringify(response));

}


});

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events