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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published 5 hours ago in Off-topic

Teams behind the teams - Your nominations please!

Teams do amazing things together. We’ve talked about the myth of the lone genius and how everything is actually the result of teamwork. You might be thinking, What about a novelist writing, say, Th...

47 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you