Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-11051

Pull Request Hook Inconsistency

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Hello Bitbucket Team,

      I found there are some inconsistencies in pull request hook payload, particularly on created and updated event type:

      • Pull request id only available on pullrequest_created. It'd be great if available on other events as well. For instance, I'm going to use it to trigger tests for every PR create/updates on our CI server.
      • In pullrequest_created, the commit SHA is named (in JSON payload) eventname.source.commit.hash, while it's eventname.source.commit.sha on pullrequest_updated event. Is it intended? I've spent couple of hours in frustration because of this.

      Thanks.

      Reference: https://confluence.atlassian.com/display/BITBUCKET/Pull+Request+POST+hook+management

      Attachments

        Activity

          People

            Unassigned Unassigned
            1c383801cbd2 akhy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: