xanzy / go-gitlab

GitLab Go SDK
Apache License 2.0
2.42k stars 957 forks source link

Add support to "Tasks", eventually #1577

Open 2785 opened 1 year ago

2785 commented 1 year ago

https://docs.gitlab.com/ee/user/tasks.html <- tasks described here.

This thing is currently available via gitlab UI & it fires off webhooks with object kind work_item.

No available API on top of this yet, not sure how stable the entity schema is, but we could probably support that when there's officially an API over it.

What's mildly annoying here with gitlab is that - these work_item webhooks come with a X-Gitlab-Event header that says it's an Issue Hook - and go-gitlab's recommended method of parsing webhook kinda breaks down on this in attempting to parse it as an issue event. :shrug:

All in all, more of a "hey gitlab did this fancy new half as**d thing that breaks some very specific existing stuff". I'm down to write some code when gitlab publishes the API to add support to the library.

svanharmelen commented 1 year ago

Let's see how the API turns out when it's made public 😏

svanharmelen commented 12 months ago

Is this still an open issue, or should we close this one for now?