Skip to content

Add the /groups/:id/issues endpoint

dureuill requested to merge dureuill/rust-gitlab:groups_issues into master

This MR adds support for the /groups/:id/issues endpoint.

Fixes #60 (closed).

Since a lot of the types and code for the /groups/:id/issues endpoint is similar to the existing /projects/:id/issues endpoint, this MR splits the code that is living in the api::groups::issues module between a new api::issues module and its api::issues::projects submodule.

This allows to reuse some code in the api::issues::groups submodule.

To keep compatibility, the types now defined in api::issues and api::issues::projects are re-exported in the existing api::projects::issues module.

Similarly, a api::groups::issues is made available, for symmetry wrt api::projects::issues and to provide an intuitive location to the user.

Merge request reports