• We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Currently Stash has the infrastructure for plugin developers to write a java plugin which pings remote URLs. Often this can be too time consuming or is not an option for repository admins who don't have system admin access to install the plugin.

      Providing generic web hooks with predefined POST json data these repository admins could write services using their favourite language without the need to know Java or be able to install a plugin

            [BSERV-3247] Provide web hooks for Repository change events

            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3394684 ] New: JAC Suggestion Workflow 3 [ 3621295 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: BSERV Suggestions Workflow [ 2687418 ] New: JAC Suggestion Workflow [ 3394684 ]
            Michael Andreacchio made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 320022 ]
            Michael Andreacchio made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 374334 ]
            Owen made changes -
            Workflow Original: Stash Workflow [ 515616 ] New: BSERV Suggestions Workflow [ 2687418 ]
            Status Original: Closed [ 6 ] New: Resolved [ 5 ]
            Imran Khan made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 291714 ]

            Imran Khan added a comment -

            Hi s.schliesing1, gooomax610855565

            Thanks for your valuable feedback. The original suggestion was for providing Webhooks in Bitbucket Server so, we closed it when we added this feature. Your request is a good idea and one that we'd like to explore either as enhancement to Webhooks or better first class integration with CI (in your case TeamCity) however, I can't provide any timeline for that. I would recommend you to open a new suggestion so that other users can also vote on it as well.

            If you have any other questions feel free to contact me directly.

            Best,
            Imran Khan
            Product Manager - Bitbucket Server
            ikhan at atlassian dot com

            Imran Khan added a comment - Hi s.schliesing1 , gooomax610855565 Thanks for your valuable feedback. The original suggestion was for providing Webhooks in Bitbucket Server so, we closed it when we added this feature. Your request is a good idea and one that we'd like to explore either as enhancement to Webhooks or better first class integration with CI (in your case TeamCity) however, I can't provide any timeline for that. I would recommend you to open a new suggestion so that other users can also vote on it as well. If you have any other questions feel free to contact me directly. Best, Imran Khan Product Manager - Bitbucket Server ikhan at atlassian dot com

            Paul, thanks for this feature, but I agree with Sven - there is lack of customization. So no matter how good this feature, we still can't use it, 

            We need to send POST request with authorization. Its common use-case for TeamCity (I know its not atlassian, but Its popular CI and you know it).

            Max Gorovenko added a comment - Paul, thanks for this feature, but I agree with Sven - there is lack of customization. So no matter how good this feature, we still can't use it,  We need to send POST request with authorization. Its common use-case for TeamCity (I know its not atlassian, but Its popular CI and you know it).

            Sven Schliesing added a comment - - edited

            Hi Paul,

            thank you very much for this feature! I think it's pretty powerful though it lacks some bit of customization support we (and surely others) will need. Take a look at the plugin "HTTP-Request Hook for Bitbucket Server" I already mentioned above. You can use variables for forming the URL like this: 

            https://buildserver/build?id=myBuild&branch=${refChange.name}

            Unfortunately interpreting the standard payloads that the new webhooks in Bitbucket are sending is just not enough because it would need logic on the receiving side to know what to do.

             

            It would be awesome If the webhooks in Bitbucket could do the same. For the time being we'll stick to the plugin that hopefully stays maintained.

            Sven Schliesing added a comment - - edited Hi Paul, thank you very much for this feature! I think it's pretty powerful though it lacks some bit of customization support we (and surely others) will need. Take a look at the plugin " HTTP-Request Hook for Bitbucket Server " I already mentioned above. You can use variables for forming the URL like this:  https: //buildserver/build?id=myBuild&branch=${refChange.name} Unfortunately interpreting the standard payloads that the new webhooks in Bitbucket are sending is just not enough because it would need logic on the receiving side to know what to do.   It would be awesome If the webhooks in Bitbucket could do the same. For the time being we'll stick to the plugin that hopefully stays maintained.
            Paul Thompson (Inactive) made changes -
            Fix Version/s New: 5.4.0 [ 73619 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Closed [ 6 ]

              pathompson Paul Thompson (Inactive)
              jhinch jhinch (Atlassian)
              Votes:
              51 Vote for this issue
              Watchers:
              52 Start watching this issue

                Created:
                Updated:
                Resolved: