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
12ad2921
Unverified
Commit
12ad2921
authored
Aug 02, 2019
by
Sander van Harmelen
Committed by
GitHub
Aug 02, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #655 from jamesramsay/confidential-issues
Add Confidential and Label Details list issue opts
parents
ee3313ca
96d27569
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
issues.go
issues.go
+4
-0
No files found.
issues.go
View file @
12ad2921
...
@@ -112,6 +112,7 @@ type ListIssuesOptions struct {
...
@@ -112,6 +112,7 @@ type ListIssuesOptions struct {
ListOptions
ListOptions
State
*
string
`url:"state,omitempty" json:"state,omitempty"`
State
*
string
`url:"state,omitempty" json:"state,omitempty"`
Labels
Labels
`url:"labels,comma,omitempty" json:"labels,omitempty"`
Labels
Labels
`url:"labels,comma,omitempty" json:"labels,omitempty"`
WithLabelDetails
*
bool
`url:"with_labels_details,omitempty" json:"with_labels_details,omitempty"`
Milestone
*
string
`url:"milestone,omitempty" json:"milestone,omitempty"`
Milestone
*
string
`url:"milestone,omitempty" json:"milestone,omitempty"`
Scope
*
string
`url:"scope,omitempty" json:"scope,omitempty"`
Scope
*
string
`url:"scope,omitempty" json:"scope,omitempty"`
AuthorID
*
int
`url:"author_id,omitempty" json:"author_id,omitempty"`
AuthorID
*
int
`url:"author_id,omitempty" json:"author_id,omitempty"`
...
@@ -125,6 +126,7 @@ type ListIssuesOptions struct {
...
@@ -125,6 +126,7 @@ type ListIssuesOptions struct {
CreatedBefore
*
time
.
Time
`url:"created_before,omitempty" json:"created_before,omitempty"`
CreatedBefore
*
time
.
Time
`url:"created_before,omitempty" json:"created_before,omitempty"`
UpdatedAfter
*
time
.
Time
`url:"updated_after,omitempty" json:"updated_after,omitempty"`
UpdatedAfter
*
time
.
Time
`url:"updated_after,omitempty" json:"updated_after,omitempty"`
UpdatedBefore
*
time
.
Time
`url:"updated_before,omitempty" json:"updated_before,omitempty"`
UpdatedBefore
*
time
.
Time
`url:"updated_before,omitempty" json:"updated_before,omitempty"`
Confidential
*
bool
`url:"confidential,omitempty" json:"confidential,omitempty"`
}
}
// ListIssues gets all issues created by authenticated user. This function
// ListIssues gets all issues created by authenticated user. This function
...
@@ -202,6 +204,7 @@ type ListProjectIssuesOptions struct {
...
@@ -202,6 +204,7 @@ type ListProjectIssuesOptions struct {
IIDs
[]
int
`url:"iids[],omitempty" json:"iids,omitempty"`
IIDs
[]
int
`url:"iids[],omitempty" json:"iids,omitempty"`
State
*
string
`url:"state,omitempty" json:"state,omitempty"`
State
*
string
`url:"state,omitempty" json:"state,omitempty"`
Labels
Labels
`url:"labels,comma,omitempty" json:"labels,omitempty"`
Labels
Labels
`url:"labels,comma,omitempty" json:"labels,omitempty"`
WithLabelDetails
*
bool
`url:"with_labels_details,omitempty" json:"with_labels_details,omitempty"`
Milestone
*
string
`url:"milestone,omitempty" json:"milestone,omitempty"`
Milestone
*
string
`url:"milestone,omitempty" json:"milestone,omitempty"`
Scope
*
string
`url:"scope,omitempty" json:"scope,omitempty"`
Scope
*
string
`url:"scope,omitempty" json:"scope,omitempty"`
AuthorID
*
int
`url:"author_id,omitempty" json:"author_id,omitempty"`
AuthorID
*
int
`url:"author_id,omitempty" json:"author_id,omitempty"`
...
@@ -215,6 +218,7 @@ type ListProjectIssuesOptions struct {
...
@@ -215,6 +218,7 @@ type ListProjectIssuesOptions struct {
CreatedBefore
*
time
.
Time
`url:"created_before,omitempty" json:"created_before,omitempty"`
CreatedBefore
*
time
.
Time
`url:"created_before,omitempty" json:"created_before,omitempty"`
UpdatedAfter
*
time
.
Time
`url:"updated_after,omitempty" json:"updated_after,omitempty"`
UpdatedAfter
*
time
.
Time
`url:"updated_after,omitempty" json:"updated_after,omitempty"`
UpdatedBefore
*
time
.
Time
`url:"updated_before,omitempty" json:"updated_before,omitempty"`
UpdatedBefore
*
time
.
Time
`url:"updated_before,omitempty" json:"updated_before,omitempty"`
Confidential
*
bool
`url:"confidential,omitempty" json:"confidential,omitempty"`
}
}
// ListProjectIssues gets a list of project issues. This function accepts
// ListProjectIssues gets a list of project issues. This function accepts
...
...
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