diff options
author | David Eisner <david.eisner@oriel.oxon.org> | 2016-10-26 09:08:58 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-01-12 17:51:06 -0500 |
commit | 7ef1c6408e95c780e947e5c56cfae10b3dbb03d4 (patch) | |
tree | 6603a9e457e6ef35e3fd0554789823242d519a38 /changelogs | |
parent | 5c253116ae57c9db567394f544a40997de115f82 (diff) | |
download | gitlab-ce-7ef1c6408e95c780e947e5c56cfae10b3dbb03d4.tar.gz |
API: Implement project issues iid param with IssuesFinder and add tests23194-fix-no-milestone-option-for-projects-endpoint
- Use IssuesFinder for the /issues API resouce
- Tests for iid filter in project issues API resource
- Tests for No Milestone filter in issues API resources
The "No Milestone" case was not previously tested, and the `/issues`
resource did not support the the `milestone` parameter.
- Return issues where all labels match from the issues and project issues
API resources, like the group issues resource already does. See
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6825#note_17474533
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/unreleased/fix-no-milestone-option-for-projects-endpoint-23194.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/changelogs/unreleased/fix-no-milestone-option-for-projects-endpoint-23194.yml b/changelogs/unreleased/fix-no-milestone-option-for-projects-endpoint-23194.yml new file mode 100644 index 00000000000..98066537723 --- /dev/null +++ b/changelogs/unreleased/fix-no-milestone-option-for-projects-endpoint-23194.yml @@ -0,0 +1,4 @@ +--- +title: 'API: fix query response for `/projects/:id/issues?milestone="No%20Milestone"`' +merge_request: 8457 +author: Panagiotis Atmatzidis, David Eisner |