Hi community — i’m trying to create the ability to create pagerduty incidents in Slack with a slash command, and have succeeded in that.
But I’m reaching for something much more specific — I need to be able to pass values with that command to do one of the following:
- pass “/page [team name]” to kick off a pagerduty incident with a specific team, or
- pass “/page [@person name]” to kick off a pagerduty incident assigned to a specific pd user
can anyone guide me on how to pass those values correctly to pagerduty and have pd initiate the incident in kind?
thanks so much!