I want to user Autmation to put issue information to servicenow ,I want to meet servicenow Requires authentication, what should I put Headers?
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
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.