BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ce55e6e8
Commit
ce55e6e8
authored
Mar 04, 2017
by
Hannes Rosenögger
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'list_issues_with_no_labels' into 'master'
Be able to list issues with no labels using API Closes #28520 See merge request !9697
parents
5f190ea1
9c01ae09
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
list_issues_with_no_labels.yml
changelogs/unreleased/list_issues_with_no_labels.yml
+4
-0
issues.md
doc/api/issues.md
+6
-0
No files found.
changelogs/unreleased/list_issues_with_no_labels.yml
0 → 100644
View file @
ce55e6e8
---
title
:
Document ability to list issues with no labels using API
merge_request
:
9697
author
:
Vignesh Ravichandran
doc/api/issues.md
View file @
ce55e6e8
...
...
@@ -23,6 +23,7 @@ GET /issues?state=closed
GET /issues?labels=foo
GET /issues?labels=foo,bar
GET /issues?labels=foo,bar&state=opened
GET /projects/:id/issues?labels_name=No+Label
GET /issues?milestone=1.0.0
GET /issues?milestone=1.0.0&state=opened
GET /issues?iids[]=42&iids[]=43
...
...
@@ -32,6 +33,7 @@ GET /issues?iids[]=42&iids[]=43
| --------- | ---- | -------- | ----------- |
|
`state`
| string | no | Return all issues or just those that are
`opened`
or
`closed`
|
|
`labels`
| string | no | Comma-separated list of label names, issues must have all labels to be returned |
|
`labels_name`
| string | no | Return all issues with the mentioned label.
`No+Label`
lists all issues with no labels |
|
`milestone`
| string| no | The milestone title |
|
`iids`
| Array
[
integer
]
| no | Return only the issues having the given
`iid`
|
|
`order_by`
| string | no | Return requests ordered by
`created_at`
or
`updated_at`
fields. Default is
`created_at`
|
...
...
@@ -102,6 +104,7 @@ GET /groups/:id/issues?state=closed
GET /groups/:id/issues?labels=foo
GET /groups/:id/issues?labels=foo,bar
GET /groups/:id/issues?labels=foo,bar&state=opened
GET /projects/:id/issues?labels_name=No+Label
GET /groups/:id/issues?milestone=1.0.0
GET /groups/:id/issues?milestone=1.0.0&state=opened
GET /groups/:id/issues?iids[]=42&iids[]=43
...
...
@@ -112,6 +115,7 @@ GET /groups/:id/issues?iids[]=42&iids[]=43
|
`id`
| integer | yes | The ID of a group |
|
`state`
| string | no | Return all issues or just those that are
`opened`
or
`closed`
|
|
`labels`
| string | no | Comma-separated list of label names, issues must have all labels to be returned |
|
`labels_name`
| string | no | Return all issues with the mentioned label.
`No+Label`
lists all issues with no labels |
|
`iids`
| Array
[
integer
]
| no | Return only the issues having the given
`iid`
|
|
`milestone`
| string| no | The milestone title |
|
`order_by`
| string | no | Return requests ordered by
`created_at`
or
`updated_at`
fields. Default is
`created_at`
|
...
...
@@ -183,6 +187,7 @@ GET /projects/:id/issues?state=closed
GET /projects/:id/issues?labels=foo
GET /projects/:id/issues?labels=foo,bar
GET /projects/:id/issues?labels=foo,bar&state=opened
GET /projects/:id/issues?labels_name=No+Label
GET /projects/:id/issues?milestone=1.0.0
GET /projects/:id/issues?milestone=1.0.0&state=opened
GET /projects/:id/issues?iids[]=42&iids[]=43
...
...
@@ -194,6 +199,7 @@ GET /projects/:id/issues?iids[]=42&iids[]=43
|
`iids`
| Array
[
integer
]
| no | Return only the milestone having the given
`iid`
|
|
`state`
| string | no | Return all issues or just those that are
`opened`
or
`closed`
|
|
`labels`
| string | no | Comma-separated list of label names, issues must have all labels to be returned |
|
`labels_name`
| string | no | Return all issues with the mentioned label.
`No+Label`
lists all issues with no labels |
|
`milestone`
| string| no | The milestone title |
|
`order_by`
| string | no | Return requests ordered by
`created_at`
or
`updated_at`
fields. Default is
`created_at`
|
|
`sort`
| string | no | Return requests sorted in
`asc`
or
`desc`
order. Default is
`desc`
|
...
...
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