The GitLab timeline events are described at Incident Management > Timeline events
I tried to get to the timeline events using the Issues API and Notes API but it seems that the the timeline events are NOT notes. The only notes I find in the Incident issue are the comments in the issue activity like “added an incident timeline event” but not the actual timeline event which should contain labels like “Impact detected” / “End time” .
I also tried the Events API but timeline events do not show there either.
So how can I extract the timeline events from a gitlab issue (incident type) programmatically (via API)?
EDIT: I came to the conclusion that there no API to access the timeline events. So I wrote Add missing REST API for accessing Incident timeline events (#439853) · Issues · GitLab.org / GitLab · GitLab