- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2014 10:56 AM
Much thanks to John Andersen, as always, for his stellar work on the Service-Now platform with regards to integrations.
ServiceNow integration to JIRA through REST API's-John James Andersen
I was wondering if anyone had any tips on this. I set this up and for some reason my service-now instance isn't able to communicate with the Jira instance. I can see in my logs whenever SN tries to send the data to jira to open a bug, I get the following returned: "Jira issue created: undefined"
Do I need to set up anything on the Jira side?
I have verified the "Jira base instance URL", the "Jira Project Key", as well as the "Custom ID for Service Now". Also I am having to use a mid-server, and I have verified it is up and running.
Any help would be greatly appreciated, as I have a lot more work to do on expanding this integration beyond just incident, but first I just have to get incident working.
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2014 06:21 AM
I've done a large JIRA integration based on the Andersen's code too. But I improved quite a lot there including the webhooks (used for updates from JIRA to SNC).
To debug your problems, the best way is to watch the ECC queue responses. There you can see the full JIRA response including the error messages and JSON. The Andersen's code is not very robust in terms of error handling. You will have to improve it before going into production.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2016 09:51 AM
Jira right now doesn't support authentication on their webhooks. One thing you could do is setup a proxy API that receives the unauthenticated incoming Jira message, then passes it on to the actual service-now incident using proper authentication.
Quick Edit: I should clarify that Jira -does- have basic authentication support since I think 6.2, but it passes the username and password in plaintext appended to the REST api, example: http://localhost:10520/bamboo52/rest/api/latest/server/pause?os_authtype=basic&os_username=admin&os_... which isn't a really solid idea.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2015 07:15 AM
Hi Pavel
What do you mean with "Simple URL handler"?
I created a REST Message with the endpoint http://instance.service-now.com/api/now/table/incident/
Than I set up the Webhook in Jira to use this URL in hope it works in his way:
http://instance.service-now.com/api/now/table/incident/${customfield_10027}
In the custom field is the sys_id of the corresponding incident in ServiceNow.
So how do I get now the data in ServiceNow and transform it?
We're not using a MID Server.
Thank you very much
Christina
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2016 08:35 AM
Hi John, can u please guide me how to use webhook in servicenow. I need the data to flow from webhook to SNOW.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2017 07:29 PM
Hi,
I have been reading your updates:
Could you advise on how optio two is implemented?
- Implement a webhook and be notified about changes in JIRA
WOuld appreciate it.
Reg
henry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2017 03:57 AM
JIra does not support OAuth 2.0, so you need to create a Public Processor in ServiceNow.
Jira webhooks can call the public processor.
Please do take approval from your security department for public processor.