diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2017-01-27 15:34:15 -0200 |
---|---|---|
committer | Oswaldo Ferreira <oswluizf@gmail.com> | 2017-02-20 13:21:22 -0300 |
commit | c2426b4eac330a9bfabc7f28f4c7063c69129b3f (patch) | |
tree | a2dacf6a18d6e4c383c52263a697d9da6946182f /doc/api/issues.md | |
parent | 7c57e0994cf90981c4c20cc0cde20cb49ec5d11d (diff) | |
download | gitlab-ce-c2426b4eac330a9bfabc7f28f4c7063c69129b3f.tar.gz |
Unify issues search behavior by always filtering when ALL labels matches26315-unify-labels-filter-behavior
Diffstat (limited to 'doc/api/issues.md')
-rw-r--r-- | doc/api/issues.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/issues.md b/doc/api/issues.md index 7c0a444d4fa..f40e0938b0f 100644 --- a/doc/api/issues.md +++ b/doc/api/issues.md @@ -30,7 +30,7 @@ GET /issues?milestone=1.0.0&state=opened | Attribute | Type | Required | Description | | --------- | ---- | -------- | ----------- | | `state` | string | no | Return all issues or just those that are `opened` or `closed`| -| `labels` | string | no | Comma-separated list of label names, issues with any of the labels will be returned | +| `labels` | string | no | Comma-separated list of label names, issues must have all labels to be returned | | `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` | @@ -188,7 +188,7 @@ GET /projects/:id/issues?milestone=1.0.0&state=opened | `id` | integer | yes | The ID of a project | | `iid` | integer | no | Return the issue 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 with any of the labels will be returned | +| `labels` | string | no | Comma-separated list of label names, issues must have all labels to be returned | | `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` | |