Bitbucket Server: Add LoadPullRequest method to Client
Created by: mrnugget
This adds support for Bitbucket Server pull requests to our Automation GraphQL API.
It allows users to use the createChangeset
mutation with Bitbucket Server repositories and external IDs pointing to Bitbucket Server pull requests.
The user can then fetch the changesets via the GraphQL API and read every currently defined field for changesets pointing to Bitbucket Server pull requests.
It does that by adding
- a
LoadPullRequest
method tobitbucketserver.Client
- a
bitbucketserver.PullRequest
type definition - a
LoadChangesets
method to theBitbucketServerSource
- the necessary
case
branches to read the necessary fields from a serialized Bitbucket Server pull request - integration tests