How to use query string parameters
This guide is for the Post Webhooks for Bitbucket Atlassian Marketplace application.
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 slugproject.key
- the project keybranch.name
- the branch namepullrequest.frombranch
- the from branch name of the pull request (relative git path) - f.e. refs/heads/bug/someBugpullrequest.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/masterpullrequest.tobranch.name
- the to-branch name - f.e.master
.pullrequest.url
- the pull request URL
Updated: