I am working on servicenow to jira integration Can any one suggest on the 400 code error.

dhineshkumar
Tera Guru

Hi Experts 

 

Need you assistance on the serviceNow to Jira integration. I am getiing the 400 error method failed can any one help me on this.

 

Thanks in advance

dhineshkumar_0-1690814130239.png

 

2 ACCEPTED SOLUTIONS

also noticed you put “Content type” it should look like below


Accept application/json

Content-Type application/json

 


You can also try using version 2 of the api instead of 3. Just switch the 3 for a 2

View solution in original post

@DanielCordick 

Excellent Now I got the status code 200 success. Appreciate 

dhineshkumar_0-1690946119293.png

 

View solution in original post

12 REPLIES 12

Sonam Tiwari
Tera Guru

Hi @dhineshkumar 


jql/project

Just try putting a / instead of = after jql and check.

@Sonam Tiwari 

This is my end point how can I modifies as above comments ?
https://dinesh271.atlassian.net/rest/api/3/search?jql=project=MIIJTS

@dhineshkumar ,

Can you refer this thread once? On similar issue.
https://www.servicenow.com/community/itsm-forum/servicenow-jira-integration-error-method-failed-rest...

This should help I guess. 

@Sonam Tiwari 

Yes I put the  / instaed of = still have the same issue.
https://dinesh271.atlassian.net/rest/api/3/search?jql/project=MIIJTS