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
d1925e16
Commit
d1925e16
authored
Nov 29, 2017
by
Timofey Koolin
Committed by
Sander van Harmelen
Nov 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add fields (#260)
* + CreatedAt * +UpdatedAt
parent
0199d448
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
issues.go
issues.go
+13
-11
No files found.
issues.go
View file @
d1925e16
...
...
@@ -236,11 +236,12 @@ func (s *IssuesService) GetIssue(pid interface{}, issue int, options ...OptionFu
//
// GitLab API docs: https://docs.gitlab.com/ce/api/issues.html#new-issues
type
CreateIssueOptions
struct
{
Title
*
string
`url:"title,omitempty" json:"title,omitempty"`
Description
*
string
`url:"description,omitempty" json:"description,omitempty"`
AssigneeID
*
int
`url:"assignee_id,omitempty" json:"assignee_id,omitempty"`
MilestoneID
*
int
`url:"milestone_id,omitempty" json:"milestone_id,omitempty"`
Labels
Labels
`url:"labels,comma,omitempty" json:"labels,omitempty"`
Title
*
string
`url:"title,omitempty" json:"title,omitempty"`
Description
*
string
`url:"description,omitempty" json:"description,omitempty"`
AssigneeID
*
int
`url:"assignee_id,omitempty" json:"assignee_id,omitempty"`
CreatedAt
*
time
.
Time
`url:"created_at,omitempty" json:"created_at,omitempty"`
MilestoneID
*
int
`url:"milestone_id,omitempty" json:"milestone_id,omitempty"`
Labels
Labels
`url:"labels,comma,omitempty" json:"labels,omitempty"`
}
// CreateIssue creates a new project issue.
...
...
@@ -271,12 +272,13 @@ func (s *IssuesService) CreateIssue(pid interface{}, opt *CreateIssueOptions, op
//
// GitLab API docs: https://docs.gitlab.com/ce/api/issues.html#edit-issues
type
UpdateIssueOptions
struct
{
Title
*
string
`url:"title,omitempty" json:"title,omitempty"`
Description
*
string
`url:"description,omitempty" json:"description,omitempty"`
AssigneeID
*
int
`url:"assignee_id,omitempty" json:"assignee_id,omitempty"`
MilestoneID
*
int
`url:"milestone_id,omitempty" json:"milestone_id,omitempty"`
Labels
Labels
`url:"labels,comma,omitempty" json:"labels,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"`
AssigneeID
*
int
`url:"assignee_id,omitempty" json:"assignee_id,omitempty"`
MilestoneID
*
int
`url:"milestone_id,omitempty" json:"milestone_id,omitempty"`
Labels
Labels
`url:"labels,comma,omitempty" json:"labels,omitempty"`
StateEvent
*
string
`url:"state_event,omitempty" json:"state_event,omitempty"`
UpdatedAt
*
time
.
Time
`url:"updated_at,omitempty" json:"updated_at,omitempty"`
}
// UpdateIssue updates an existing project issue. This function is also used
...
...
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