Add missing REST API for accessing Incident timeline events

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

As far as I understand it's not possible today 16.9 to access the timeline events of an Issue (issue type: incident) via the Gitlab REST API

The Issues API and Notes API allow access to the issue information and comments on the issue. But timeline events are not accessible from any of those.

The closest you can get today (16.9) AFAIK is to use Notes API to get the comments that state XXXXX added an incident timeline event, but not the actual timeline events which should contain more information (e.g. Impact detected, end time, etc labels attached to the timeline event).

My use case, is that I want to create some visualization of the incident statistics, and without programmatic access to the timeline events I can't build visualizations that show how much each incident took to resolve (from Impact detected timeline event to end time timeline event).

GitLabForumQuestion StackOverflowQuestion

Edited by 🤖 GitLab Bot 🤖