Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
go-gitlab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
go-gitlab
Commits
de141338
Commit
de141338
authored
Oct 18, 2018
by
Andrew Makhnev
Committed by
Sander van Harmelen
Oct 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add fields to UpdateMergeRequestOptions (#492)
parent
363e7d62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
merge_requests.go
merge_requests.go
+11
-7
No files found.
merge_requests.go
View file @
de141338
...
...
@@ -505,13 +505,17 @@ func (s *MergeRequestsService) CreateMergeRequest(pid interface{}, opt *CreateMe
// GitLab API docs:
// https://docs.gitlab.com/ce/api/merge_requests.html#update-mr
type
UpdateMergeRequestOptions
struct
{
Title
*
string
`url:"title,omitempty" json:"title,omitempty"`
Description
*
string
`url:"description,omitempty" json:"description,omitempty"`
TargetBranch
*
string
`url:"target_branch,omitempty" json:"target_branch,omitempty"`
AssigneeID
*
int
`url:"assignee_id,omitempty" json:"assignee_id,omitempty"`
Labels
Labels
`url:"labels,comma,omitempty" json:"labels,omitempty"`
MilestoneID
*
int
`url:"milestone_id,omitempty" json:"milestone_id,omitempty"`
StateEvent
*
string
`url:"state_event,omitempty" json:"state_event,omitempty"`
Title
*
string
`url:"title,omitempty" json:"title,omitempty"`
Description
*
string
`url:"description,omitempty" json:"description,omitempty"`
TargetBranch
*
string
`url:"target_branch,omitempty" json:"target_branch,omitempty"`
AssigneeID
*
int
`url:"assignee_id,omitempty" json:"assignee_id,omitempty"`
Labels
Labels
`url:"labels,comma,omitempty" json:"labels,omitempty"`
MilestoneID
*
int
`url:"milestone_id,omitempty" json:"milestone_id,omitempty"`
StateEvent
*
string
`url:"state_event,omitempty" json:"state_event,omitempty"`
RemoveSourceBranch
*
bool
`url:"remove_source_branch,omitempty" json:"remove_source_branch,omitempty"`
Squash
*
bool
`url:"squash,omitempty" json:"squash,omitempty"`
DiscussionLocked
*
bool
`url:"discussion_locked,omitempty" json:"discussion_locked,omitempty"`
AllowCollaboration
*
bool
`url:"allow_collaboration,omitempty" json:"allow_collaboration,omitempty"`
}
// UpdateMergeRequest updates an existing project milestone.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment