xanzy / go-gitlab

GitLab Go SDK
Apache License 2.0
2.41k stars 955 forks source link

Add summary support in AddSpentTimeOptions #1818

Closed airclovis closed 1 year ago

airclovis commented 1 year ago

Goal

This PR is adding a summary field in the AddSpentTimeOptions structure.

This structure is used to call the add spent API endpoints for merge requests and issues.

Today we can only pass the duration of the time spent when calling gitlab API, however the 2 endpoints also accept a summary optional field (see merge request and issues).

Adding this new field in the structure will allow users to set a specific summary value while calling gitlab API.

stang commented 1 year ago

Thank @airclovis and @svanharmelen.

We're relying on this library and were exactly looking for this feature. I saw the PR has been merged. @svanharmelen do you plan to push a new release anytime soon? 🙏

svanharmelen commented 1 year ago

Tagged v0.93.1

stang commented 1 year ago

Awesome! Thank you for your prompt reaction!