jira integrate with servicenow via webhook

Betty
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 20, 2022

 

I want to user Autmation to put issue information to servicenow ,I want to meet servicenow Requires authentication, what should I put Headers?

555555.png

 

1 answer

0 votes
Antonio Carlos
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 21, 2022

Hello Betty,

Welcome to Atlassian Community! 

I am not sure if the integration you are performing requires an Authentication, but we do have a webhooks feature which may be valid for your purpose and it is way simpler to use instead of an Automation (just a reminder - if your automation does require an authentication, webhooks won't be a tool to use because it is an unsupported feature, but in any other case it would be the ideal approach).

You can take a deeper look on how webhooks works on Jira on the following URL: https://developer.atlassian.com/cloud/jira/platform/webhooks/

 

In case your automation requires an authentication you can follow below steps:

Based on ServiceNow documentation, the integration with Jira allows a Basic Auth, so in order for you to be able to perform this connection, you will need to go through the following topics:

ServiceNow Procedure

  1. Create a Connection & Credential alias
    • You can use the connection alias (sn_jira_int.Jira) that is available by default.
    • You must create a connection alias for every Jira instance that you use.
  2. Create Basic authorization credentials.
    Ensure that the user for whom the basic authorization credentials are created has access to all Jira projects.
  3. Create an HTTP(s) connection.

 

On Jira side, you will need to create a Basic Auth token for your Atlassian Account (as mentioned above, please make sure your account have access to all Jira projects), and provide the following headers:

"Authorization: Basic ZnJlZDpmcmVk"

You should replace ZnJlZDpmcmVk by your API Token generated previously.

In case you need to take a deeper look on the documentation, here it is: https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/

 

Depending on which kind of Authentication ServiceNow utilizes, it may also requires another kind of authentication. If the above doesn't work I would suggest you to get in contact with ServiceNow Support to understand which kind of authentication they support/recommend (https://support.servicenow.com/now)

Hope this helps!

Best Regards,

Antonio Carlos

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events