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

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,

Can you correct the end point

 

https://myaccount1.atlassian.net//rest/api/3/project/{projectIdOrKey}

 

project key is your TestProject2

 

Thanks,

Ashutosh

Updated. Still am getting 404 error. But Project is there in my atlassian account. Any permission issues?

find_real_file.png

Hi,

myaccount1 is your jira instance?


Thanks,
Ashutosh

Yes Ashutosh 'myaccount1' is my jira instance. I have changed the URI,no am getting 200 response but still am unable to get projects

 

find_real_file.png