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

Stash POST to url with payload

Joseph Jenniges July 17, 2013

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

0 votes
Answer accepted
Joseph Jenniges July 23, 2013

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
Joseph Jenniges July 18, 2013

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
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 20, 2013

What are your needs that it doesn't satisfy?

Saifuddin Tariwala October 15, 2015

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?

0 votes
seb
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events