Resolve "User can create on-call rotation with negative length"
What does this MR do and why?
Added validation for rotationLength form field.
Screenshots or screen recordings
context | before | after |
---|---|---|
adding rotation | ![]() |
![]() |
editing rotation | ![]() |
![]() |
How to set up and validate locally
Prerequisite:
- This is a premium feature
- You must have at least the Maintainer role.
To open create an on-call schedule modal:
- On the top bar, select Main menu > Projects and find your project.
- On the left sidebar, select Monitor > On-call Schedules.
- Select Add a schedule.
- Enter the schedule’s name and description and select a time zone.
- In the rotation section of your schedule, click
Add rotation
- To edit, click the edit button on a specific rotation on your on-call timeline
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #332474 (closed)
Edited by Paulina Sedlak-Jakubowska