mattermost-plugin-gitlab
mattermost-plugin-gitlab copied to clipboard
Upcoming Milestones
I was busy reviewing some open internal issues and thought that this feature might be better implemented into this plugin rather than as a separate script via an API call.
The idea is to basically take all upcoming milestones that a person has either created themselves, or if they are a project member of (probably better), and display this in the Gitlab Todo output.
This will have a new section in the output as follows:
Upcoming Milestones
- Namespace/Project: Milestone Name is due in 14 days.
- Namespace/Project: Milestone Name is due on 2020-06-12.
- Namespace/Project: Milestone Name is due on 2020-06-12 (14 days).
Showing milestones due within the next two weeks should be ideal, since one week before might be to little time to wrap it up, and 3 or more weeks means it will sit on the list longer. Optionally, this could be configurable at a later point.