Trigger on pull-request creation or update

Issue #10 resolved
Derek N created an issue

I tried setting up a branch filter for pull-requests: "refs/pull-requests/.*/from"

Nothing gets triggered. Maybe pull-requests are not supported?

This would be a great feature to have and if possible, with the ${refChange.toHash} being the commit for the corresponding "refs/pull-requests//merge" branch and the ${refChange.fromHash} being the commit for the "refs/pull-requests//from" branch.

Btw, very nice plugin.

Comments (7)

  1. Alexander Renteln

    Hi @derekln1,

    thanks for your input. This plugin provides an asynchronous post-receive hook - everytime something gets pushed to Stash this plugin will check and trigger a http request. Pull-Requests have nothing to do with that and do not really fit here.

    You probably want a plugin that gets triggered once someone does something (e.g. merges) a pull request and then do a http request.

    Am I assuming correctly? :-)

  2. Alexander Renteln

    Hi @derekln1,

    any update? Let me know what you want to do. If you could give me some concrete examples, I might have some ideas or even include it into this plugin or create a new one...

    Cheers, Alex

  3. Log in to comment