Bitbucket Post Webhook for Jenkins, Azure DevOps

How to use query string parameters

Your destination URL may contain the query string parameters, which are substituted during each event processing.

The following query string parameters are supported:

  • repository.slug - the repository slug

  • project.key - the project key

  • branch.name - the branch name

  • pullrequest.frombranch - the from branch name of the pull request (relative git path) - f.e. refs/heads/bug/someBug

  • pullrequest.frombranch.name - the from-branch name - f.e. someBug.

  • pullrequest.tobranch - the to-branch name of the pull request (relative git path) - f.e. refs/heads/master

  • pullrequest.tobranch.name - the to-branch name - f.e. master.

  • pullrequest.url - the pull request URL


Updated: