issues

Retrieve issues statistics for the currently authenticated user

Retrieves statistics for issues accessible by the currently authenticated user. By default, returns only issues created by the current user. To get all issues, set the scope attribute to all.

get/api/v4/issues_statistics

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Query parameters

labelsstring[]

Comma-separated list of label names

milestonestring

Milestone title

milestone_id'Any' | 'None' | 'Upcoming' | 'Started'

Return issues assigned to milestones with the specified timebox value ("Any", "None", "Upcoming" or "Started")

iidsinteger[]

The IID array of issues

searchstring

Search issues for text present in the title, description, or any combination of these

instring

title, description, or a string joining them with comma

author_idinteger

Return issues which are authored by the user with the given ID

author_usernamestring

Return issues which are authored by the user with the given username

assignee_idinteger

Return issues which are assigned to the user with the given ID

assignee_usernamestring[]

Return issues which are assigned to the user with the given username

created_afterstring date-time

Return issues created after the specified time

created_beforestring date-time

Return issues created before the specified time

updated_afterstring date-time

Return issues updated after the specified time

updated_beforestring date-time

Return issues updated before the specified time

not[labels]string[]

Comma-separated list of label names

not[milestone]string

Milestone title

not[milestone_id]'Any' | 'None' | 'Upcoming' | 'Started'

Return issues assigned to milestones without the specified timebox value ("Any", "None", "Upcoming" or "Started")

not[iids]integer[]

The IID array of issues

not[author_id]integer

Return issues which are not authored by the user with the given ID

not[author_username]string

Return issues which are not authored by the user with the given username

not[assignee_id]integer

Return issues which are not assigned to the user with the given ID

not[assignee_username]string[]

Return issues which are not assigned to the user with the given username

not[weight]integer

Return issues without the specified weight

not[iteration_id]integer

Return issues which are not assigned to the iteration with the given ID

not[iteration_title]string

Return issues which are not assigned to the iteration with the given title

scope'created_by_me' | 'assigned_to_me' | 'all'

Return issues for the given scope: created_by_me, assigned_to_me or all

my_reaction_emojistring

Return issues reacted by the authenticated user by the given emoji

confidentialboolean

Filter confidential or public issues

weightinteger

The weight of the issue

epic_idinteger

The ID of an epic associated with the issues

health_status'on_track' | 'needs_attention' | 'at_risk' | 'none' | 'any'

The health status of the issue. Must be one of: on_track, needs_attention, at_risk, none, any

iteration_idinteger

Return issues which are assigned to the iteration with the given ID

iteration_titlestring

Return issues which are assigned to the iteration with the given title

Response

Retrieve issues statistics for the currently authenticated user

Changes

No recorded changes to this operation across all 5 revisions of this API.