diff --git a/client-templates/bitbucket-server/accept.json.sample b/client-templates/bitbucket-server/accept.json.sample index e1df5720a..c7f89f86b 100644 --- a/client-templates/bitbucket-server/accept.json.sample +++ b/client-templates/bitbucket-server/accept.json.sample @@ -98,6 +98,24 @@ "method": "POST", "path": "/rest/build-status/1.0/commits/:sha", "origin": "https://${BITBUCKET_USERNAME}:${BITBUCKET_PASSWORD}@${BITBUCKET}" + }, + { + "//": "used to create a new branch for fix PRs", + "method": "POST", + "path": "/rest/api/1.0/projects/:project/repos/:repo/branches", + "origin": "https://${BITBUCKET_USERNAME}:${BITBUCKET_PASSWORD}@${BITBUCKET}" + }, + { + "//": "used to create or update a file for fix PRs", + "method": "PUT", + "path": "/rest/api/1.0/projects/:project/repos/:repo/browse/:path", + "origin": "https://${BITBUCKET_USERNAME}:${BITBUCKET_PASSWORD}@${BITBUCKET}" + }, + { + "//": "used to create a pull request for fix PRs", + "method": "POST", + "path": "/rest/api/1.0/projects/:project/repos/:repo/pull-requests", + "origin": "https://${BITBUCKET_USERNAME}:${BITBUCKET_PASSWORD}@${BITBUCKET}" } ] }