diff --git a/client-templates/bitbucket-server/accept.json.sample b/client-templates/bitbucket-server/accept.json.sample index 11ffe9ff7..badeae036 100644 --- a/client-templates/bitbucket-server/accept.json.sample +++ b/client-templates/bitbucket-server/accept.json.sample @@ -122,6 +122,12 @@ "method": "GET", "path": "/rest/api/1.0/projects/:project/repos/:repo/pull-requests", "origin": "https://${BITBUCKET_USERNAME}:${BITBUCKET_PASSWORD}@${BITBUCKET}" + }, + { + "//": "used to check for a repo's default branch", + "method": "GET", + "path": "/rest/api/1.0/projects/:project/repos/:repo/branches/default", + "origin": "https://${BITBUCKET_USERNAME}:${BITBUCKET_PASSWORD}@${BITBUCKET}" } ] }