Stash POST to url with payload

I've been doing some searching to find any plugins that may suit this but couldn't find any. I'm trying to find a plugin I can install that allows me to execute a POST to a specified URL upon something being commited. Similar to how bitbucket and github have their webhook urls that use a payload array. Does such a plugin exist? I know there's the jenkins webhook url, but that works off of a GET request and doesn't send the commit data as well.

3 answers

1 accepted

We were able to resolve this using a modification of this fork

https://bitbucket.org/cofarrell/stash-webhook-plugin/src/322999c2061a3a7ebeaa2bcff00836096850052b/?at=question-150195

It posts a json array to a POST payload parameter

0 votes
Seb Ruiz Atlassian Team Jul 18, 2013

Hi Joseph,

There is work in the pipeline for Stash to bring a webhook configuration screen to the product, however in the meantime you'll have to install this plugin: https://bitbucket.org/atlassian/stash-webhook-plugin/src

Cheers

Hi Seb,

Thanks for the info, we are using that plugin but it really doesn't suit our needs. We'll just have to wait for the webhook configuration to be complete :)

Seb Ruiz Atlassian Team Jul 20, 2013

What are your needs that it doesn't satisfy?

Our requirement is also similar. We want to POST from STASH/BitBucket for every push and then update the component field by parsing the JASON payload. Is there any plugin available?

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

680 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot