Update `updated_at` on an issue when label or time spent was added
Summary
When labels on an issues changed or time spent was added it means the issue has changed somehow, but "updated_at" attribute on an issue is not updated.
Steps to reproduce
- Create an issue
- Check "updated_at" attribute via Rest Api (/api/v4/projects/:project_id/issues/:issue_iid)
- Add spent time via comment /spend
- Check "updated_at" attribute again - at this moment, you can see, that the "updated_at" was not changed
What is the expected correct behavior?
- Create an issue
- Check "updated_at" attribute via Rest Api (/api/v4/projects/:project_id/issues/:issue_iid)
- Add spent time via comment /spend
- Check "updated_at" attribute again - at this moment, we should see that "updated_at" has changed
Possible fixes
Update "updated_at" attribute when changing labels or time spent on an issue. Because this change means that the issue has changed.
Edited by 🤖 GitLab Bot 🤖