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

Webhook Input Parameters as POST / JSON

This question is in reference to Atlassian Developer Documentation: Webhooks

Hey there,

on a JIRA server instance i want to integrate a service which doesnt read the input data from the parameters passed via GET,

but expects a JSON data structure to be sent as POST body data like this:

POST http://127.0.0.1:5000/Customer/GetCustomers HTTP/1.1
Connection: Keep-Alive 
Content-Type: application/json
Content-Length: 86 
Host:127.0.0.1:5000

{"FilterByName":null,"Username":"testuser","Password":"testpass","ImpersonateAs":null}

Is there a way to achieve this somehow?

 

1 answer

1 accepted

1 vote
Answer accepted

Hi Jens,

You have to code "http proxy" that accepts the params from the webhook, repacks to the desired format and makes the call to your third system. It can be simple webapp/script on any language you/your team is comfortable with.

Yes that one alternative we are considering, thanks for the confirmation.

Can this also be accomplished using Scriptrunner?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Off-topic

Run into these Solution Partners at Atlassian Open

Hey there Community! Atlassian Open is kicking off in less than a month and we can't wait to touch down in Vienna, Sydney and Boston. This is an opportunity to create the future of teamwork with ...

83 views 0 4
Read article

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