How to query the issue label changes history in the API?

I would like to generate statistics based on label changes.

I need this data:

  • which label was added or removed
  • for which issue
  • when
  • by who

Both GraphQL and the old API return the current labels of the issues. But not the history of the labels.

I need just the same information which is presented on the issue page in the history. Like: “Abc @abc added ToRelease label and removed InProgress label 3 days ago”

Is there a way in the API or GraphQL to get that information?

Or do I have to scrape the HTML pages to get it?

Hi Norbert, did you ever manage to get this information from GitLab? I’m looking to do the same thing