Create Operations policy via API doesn't allow startDay and endDay parameters.

XMLWordPrintable

    • 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

      1. 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.

              Assignee:
              Unassigned
              Reporter:
              Cássio Wollmann
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: