"Get next on-calls" API response no longer returns shifts in chronological order

XMLWordPrintable

    • 4
    • Severity 3 - Minor

      Issue Summary

      The order responders are returned in this endpoint no longer respects the order in which they are on-call. Specifically, the list returned in the exactNextOnCallRecipients may not be in the order the responders will be on-call.

      https://docs.opsgenie.com/docs/who-is-on-call-api#get-next-on-calls

      Steps to Reproduce

      1. Create a schedule with two on-call rotations.
      2. Perform a get next on-calls API request: https://docs.opsgenie.com/docs/who-is-on-call-api#get-next-on-calls

      Expected Results

      The next on-call users in both rotations are returned in the order of their on-call shifts.

      Actual Results

      The next on-call users in both rotations are returned but the order may not be in the order they are on-call. 

      Workaround

      Using a single rotation in a schedule, instead of multiple, will mean the next on-calls endpoint will always respect the order of that rotation. 

              Assignee:
              Unassigned
              Reporter:
              John M (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: