Document retrieving issues by author via API
Description
I've been working with the API recently, and I think it's missing one important feature: The ability to retrieve all issues you've created in a single project.
I can get all issues I've created and all issues for a single project, but if I want to combine the two I need to get all the issues I've created, and filter them by project ID. When you throw in pagination, that's a tough ask, because you might not have anything on pages 1-20, so it's endless messing about.
Proposal
Add a new query string parameter for the projects
endpoint that allows retrieval of users by ID
Links / references
n/a
Documentation blurb
## List project issues
Get a list of a project's issues.
GET /projects/:id/issues
GET /projects/:id/issues?state=opened
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?milestone=1.0.0
GET /projects/:id/issues?milestone=1.0.0&state=opened
GET /projects/:id/issues?iids[]=42&iids[]=43
GET /projects/:id/issues?userids[]=42&userids[]=43
GET /projects/:id/issues?search=issue+title+or+description
| Attribute | Type | Required | Description |
|-------------|----------------|----------|-----------------------------------------------------------------------------------------------------------------------------|
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](README.md#namespaced-path-encoding) owned by the authenticated user |
| `iids` | Array[integer] | no | Return only the milestone having the given `iid` |
| `userids` | Array[integer] | no | Return only the issues created by the given `userid` |
| `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. `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` |
| `search` | string | no | Search project issues against their `title` and `description`
Edited by 🤖 GitLab Bot 🤖