Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OnCall Shift public api should fill schedule field when informed #5239

Open
U002884 opened this issue Nov 6, 2024 · 0 comments
Open

OnCall Shift public api should fill schedule field when informed #5239

U002884 opened this issue Nov 6, 2024 · 0 comments

Comments

@U002884
Copy link

U002884 commented Nov 6, 2024

What went wrong?

What went wrong?

What happened:

  • <API_URL>/oncall/api/v1/on_call_shifts/ api didn't fill "schedule" field. I've tried to change "schedule" to "scheduleId : 19" and didn't work too.
    Image
    Image
    Image

What did you expect to happen:

  • <API_URL>/oncall/api/v1/on_call_shifts/O7Q2PTTYKCK76 , to fill the field "schedule" according to bellow print
    Image

How do we reproduce it?

Grafana OnCall Version

Grafana Cloud

Product Area

Schedules, Other

Grafana OnCall Platform?

I use Grafana Cloud

User's Browser?

Google chrome 16.0.5845.140 (Official Build) (arm64)

Anything else to add?

No response

How do we reproduce it?

  1. Call <API_URL>/oncall/api/v1/on_call_shifts/ with pay as "example" with a valid schedule according to bellow payload

  2. { "team_id": "T3EUAI38V1NLY", "schedule": "SI5IWXQ9ZICE1", "name": "[L1] Rotation", "type": "rolling_users", "start": "2024-10-28T08:00:00", "duration": 86400, "rotation_start": "2024-10-28T08:00:00", "frequency": "daily", "interval": 1, "until": "2024-10-28T12:00:00", "rolling_users": [ [ "URVWJP9QUDG14" ] ], "start_rotation_from_user_index": 0 }

Grafana OnCall Version

1.11.3

Product Area

Other, Schedules

Grafana OnCall Platform?

I use Grafana Cloud

User's Browser?

Google Chrome 16.0.5845.140 (Oficial Build) (arm64)

Anything else to add?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant