Feature Request: Ability to name configuration layers in schedules

schedules
feature-request

(Mitch Paschen) #1

I’d like the ability to name the configuration layers when configuring a schedule instead of just “Layer 1”, “Layer 2”, etc. For us, each layer is a different schedule for a time of day or day of the week someone works.


(Malcolm Konner) #2

Hi Mitch,

I wanted to let you know that I have submitted this feature request to our product team in regard to gaining this ability in the Web UI.

Although we do not currently have the ability to name or rename schedule’s layers in the Web UI, this is possible to do using the REST API.

To do this using the rest API, first you should Get the schedule you would like to update by using the below Get a Schedule endpoint and your schedule’s ID (ex: PN3ZAEX):

https://v2.developer.pagerduty.com/v2/page/api-reference#!/Schedules/get_schedules_id

Then, you will want to copy the entire Response Body received from the above API call, and paste it into the Update a Schedule endpoint:

https://v2.developer.pagerduty.com/v2/page/api-reference#!/Schedules/put_schedules_id

In this field, you can update the schedule and the names of “schedule_layers”, which will currently be set to “Layer 1”, “Layer 2”, and so on, and customize that name field as you wish before running the Put call.

Once you have done this, you will be able to see your new Layer names when viewing your schedule in the Web UI!

Please let me know if you have any further questions or run into any issues if you decide to attempt the above.

Sincerely,
Malcolm


(system) #3