Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA Webhook to ServiceNow Edited

We are working with a to send data from JIRA to ServiceNow.  How to we get webhook to always send the json to ServiceNow with specific credentials every time?  Every other app I have ever use has a place to put in the username and password.  

1 answer

0 votes

It looks like you don't understand how Webhook works.

Whenever there is an event in Jira a Webhook will be triggered, usually in the form of a POST request.

The request will be pointed to the ServiceNow, the problem now is if ServiceNow accepts the request which I don't think will be doable.

What you can do is create a middleware for both services. 

JIRA --> Middleware --> ServiceNow

  • Jira triggers a Webhook request to the Middleware
  • Middleware accepts the POST request 
    • You have to identify and secure the connection and CORS settings
  • Middleware then processes the POST request and properly map the key values that ServiceNow can understand.
  • Middleware then create a POST request to ServiceNow API to record the data
    • This is the time the middleware needs authentication

The middleware will need the credentials of ServiceNow so it can access the API and then create the ticket.

The best way to do the development is to use ngrok.io and you can even deploy it as a production service.

Another alternative for this is to use AWS Lamda to act as middleware.

-

That being said find any add-on that can accomplish your requirements and then resort to Webhook solution.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you