Servicenow - Jira integration Error - Method failed: (/rest/api/3/search) with code: 400

sana11
Kilo Guru

Hi All, 

I am doing servicenow jira integration as  per this youtube video https://www.youtube.com/watch?v=vv_oHjywUxg&feature=youtu.be ,I have created new atlassian account and created some sample projects.

find_real_file.png

In servicenow side I have created Rest message with endpoint and Default Get method.

Rest end point :https://myaccount1.atlassian.net//rest/api/3

Default Get end point :https://myaccount1.atlassian.net/rest/api/3/search?jql=project=TestProject2

find_real_file.png

 

Wen I try to test get method ,am getting below error.

 

find_real_file.png

 Can anyone help me to fix this? Is there anything wrong with version?if yes how can I check the version of rest api?

Suggestions Required.

Thanks in Advance!

12 REPLIES 12

Yea, I was gonna say, in several of your screenshots you've got double //s going on...

//rest/api/3

Now you're saying it's connecting (200)...so that issue is resolved.

Please mark reply as Helpful, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Hi,

Awesome. Close this thread.

Thanks,
Ashutosh

John Antony
Tera Contributor

U get the same error message I tried all the steps. Also getting Basic authentication with passwords is deprecated. Even though I use the correct username as jira email address and API token key as password. I tried both in Postman and in Servicenow. Getting the same error message. find_real_file.pngfind_real_file.png

Tejas Narad
Giga Contributor

Your Project ID is TS 

so endpoint will be:

https://myaccount1.atlassian.net/rest/api/3/search?jql=project=TS

find_real_file.png

Hello Tejas,

My issue is in creating a ticket in servicenow, when a ticket is created in JIRA cloud - Jira service management. I am able to fect the details however it is not creating a ticket. My requirement is to create a ticket in servicenow when a ticket is created in JIRA. Most of the videos available in youtube shows about the steps from servicenow to JIRA however not from JIRA to servicenow. I followed multiple youtube videos.

This video steps I tried however it is not creating a ticket in serivenow. 

https://www.youtube.com/watch?v=vv_oHjywUxg