Skip to content

Commit

Permalink
feat: add the ability to query bitbucket-server for open prs by branch
Browse files Browse the repository at this point in the history
  • Loading branch information
aviadatsnyk committed Jan 8, 2018
1 parent 456b850 commit 755ca9f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client-templates/bitbucket-server/accept.json.sample
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@
"method": "POST",
"path": "/rest/api/1.0/projects/:project/repos/:repo/pull-requests",
"origin": "https://${BITBUCKET_USERNAME}:${BITBUCKET_PASSWORD}@${BITBUCKET}"
},
{
"//": "used to query for open pull requests by branch",
"method": "GET",
"path": "/rest/api/1.0/projects/:project/repos/:repo/pull-requests",
"origin": "https://${BITBUCKET_USERNAME}:${BITBUCKET_PASSWORD}@${BITBUCKET}"
}
]
}

0 comments on commit 755ca9f

Please sign in to comment.