How can I hook issue change informations?

I want to do some statistics base on issues

For example, I want to know which issue is closed, and when it was closed, for more information, I want to get the attributes of the issue。

How can I got these informations?

Hi, most likely using the Issues API command, see the API docs here: Issues API | GitLab

You’ll notice under the list issues section, when you look in the first example response box the closed_at and closed_by fields. There’s also a ton of other information returned by the API that might give you everything you need.

You can then use the results and report it how you need.

1 Like