- 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
07-20-2016 03:09 AM
Marcos is the custom processor created in JIRA available somewhere..?
We do not have a Mid Server which is making it difficult to send attachment in multipart body format
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2015 09:05 AM
Hello Pavel Muller
Greetings.
I have a similar requirement where in, we are doing bi-dierctional integration with JIRA through MID Server.We are facing challenges in sending attachments from Service Now to JIRA and pulling attachments from JIRA to Service Now.
Could you please share your thoughts in implemeting this ?
Thanks in advance.
Regards,
Jotiram Yadav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2017 02:52 AM
Hi Pavel,
Could you please share the changes/tweaks that are used to make JIRA integration working successful in service now. I am getting below error & I am also having lot of queries.
Jira API Username - Where to find this information ( I am using now this is admin)
Jira API Password - Where to find this information ( I am using now Jira login password)
Custom Field ID for ServiceNow ID - What should be given here (Currently I'm using 10010)
Pulling Instance Identifier - what/which instance we should provide here (I am using DEVINST now)
Error I am seeing in ECC queues
<results error="The request failed: java.net.ConnectException: Connection refused: connect when posting to https://*****.atlassian.net/rest/api/2/search" probe_time="4058" result_code="900000"><parameters><parameter name="agent" value="mid.server.*******"/><parameter name="message_parameters" value="<?xml version="1.0" encoding="UTF-8"?><fields><field name="jql" value="updated%3E-3m+and+cf%5B10010%5D%7E%22DEVINST*%22"/><field name="fields" value="id%2Ckey%2Csummary%2Cissuetype%2Cpriority%2Cstatus"/></fields>"/>
used ***** for security purposes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2017 06:32 PM
Hi Manoj,
In your Jira instance, you need to create custom field and then the ID of that field (it will not be 10010).
Jira API Username - Where to find this information ( I am using now this is admin)
Jira API Password - Where to find this information ( I am using now Jira login password)
You can use Jira login ID & Password for the same.
Custom Field ID for ServiceNow ID - What should be given here (Currently I'm using 10010) — DO not use 10010. You need to create custom field in Jira and has to use id of that field.
Also, you need to create one project name as well in Jira. Once created, note the project code.
You further need to update field id & project code in "issuebody" of POST method.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2018 06:40 AM
Hi Pavel,
I am able to do one way integration SN->Jira. I'm using Jira poc by John Andersen. Now Jira is trying to create/update ticket on servicenow. For this Jira team is using webhooks. I gave them the end point and credentails details. When Jira trying to create/update a ticket they end up with error 401. I checked that user has correct roles.
httpclient-callbacks:thread-108 WARN anonymous [c.a.webhooks.plugin.PublishTaskFactoryImpl$PublishTaskImpl] Client error - 401 when posting to web hook ______https://xxxxx.service-now.com/api/now/import/u_jira’
when i checked the logs in SN: "WARNING *** WARNING *** Required HTTP authorization header (Authorization) not present"
Please suggest how to get this done.
Regards,
Nithis.