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

Implement a mechanism to retrieve/pass-on the commit message for a merge request in Custom Merge Checks

    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

      Background

      Raised from this question: https://community.atlassian.com/t5/Bitbucket-Cloud-x-Forge-EAP/Introducing-Custom-merge-checks-powered-by-Forge/bc-p/2570223#M10

      Currently we struggle with an issue and I don't know how to solve it. We have well defined commit message format in our documentation, and we use Squash merge strategy. The problem is that it's not possible to validate commit message when user merge PR (and developers forget to change the message before merge PR). I was hoping that custom merge checks will allow that, but merge commit message is not available in handler function.

      Description

      Do you have plans to pass the submitted merge commit message as a Forge input parameter to the `on-merge` trigger, or expose this information via an API?

      This would enable users to write checks which can validate the commit message.

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            dfraser@atlassian.com Dan Fraser
            Votes:
            11 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: