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 vote
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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

23,365 views 26 12
Join discussion

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