-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Operations - Policies API
-
None
-
1
Issue Summary
According to the documentation, the "Create team policy" request in the Jira Operations API Jira Service Management ops REST API doesn't allow to set startDay/endDay in the timeRestrictions parameter.
Available parameters:
- startHour
- startMinute
- endHour
- endMinute
The Opsgenie policy API accepted startDay and endDay.
Steps to Reproduce
- Try to create a customize policy with days in the timeRestrictions parameters according to the API documentation.
Expected Results
The API Jira Service Management ops REST API should document how to customize policy with days instead of only hours and minutes.
Actual Results
The API accepts startDay and endDay parameters as integers, where Sunday is equal to 0. However this is not documented in the API.
Workaround
The API accepts startDay and endDay parameters as integers, where Sunday is equal to 0.