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

Hello

For Realtime.

You can Register a webhook in Jira and write a Scripted REST Service in ServiceNow. You can map the Jira fields with any table using a glide record to get the Jira issue in ServiceNow in real time.

For one-time import 

You can create a scheduled job and call the Scripted REST API to collect the response and process it by writing a script in business rule or in flow Designer

Restjira

 

refer https://blogs.perficient.com/2022/05/18/servicenow-and-jira-integration/

 

Nikhil Kulkarn1
Tera Contributor

Hi Sana11,

 

You can set URL as: https://nik23.atlassian.net/rest/api/3/search?jql/project=project name

 

NikhilKulkarn1_0-1673084110376.png

 

Marwan_
Mega Expert

Hi @sana11 & Everyone,

 

Setting up these kind of integration can take some time and effort indeed. I just came across your post and it's good to see that you have found the right syntax for your use case.

 

If you are looking for a solution that is made for these kind of integrations, while also adding a host of additional features and ways to perform data manipulation while adding a whole layer of security then have a look at Exalate.

 

Exalate provides an easy, yet very powerful method of integrating many ITSM platforms while a fully decentralised way of doing so. Allowing any connected system to be managed by another Admin/Team and keep it's workflow. 

 

If you have any questions or need any help then please reach out.

 

Kind regards,

Marwan