Skip to content

Commit 70bd9a7

Browse files
committed
[bitbucket-server] Add Draft to PullRequest payload
Adds `Draft` to `PullRequest` Object details: https://confluence.atlassian.com/bitbucketserver/draft-pull-requests-1354498120.html Support added in: https://jira.atlassian.com/browse/BSERV-4262
1 parent 02d182a commit 70bd9a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bitbucket-server/payload.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ type PullRequest struct {
220220
FromRef RepositoryReference `json:"fromRef"`
221221
ToRef RepositoryReference `json:"toRef"`
222222
Locked bool `json:"locked"`
223+
Draft bool `json:"draft"`
223224
Author PullRequestParticipant `json:"author"`
224225
Reviewers []PullRequestParticipant `json:"reviewers"`
225226
Participants []PullRequestParticipant `json:"participants"`

0 commit comments

Comments
 (0)