extensions
extensions copied to clipboard
Add PagerDuty extension
Description
This extension helps making PagerDuty operations easier.
- A command
View PagerDuty Incidentsshows recent incident activities - In each activity user can operate status update (for now, only supports acknowledge/resolve) of incident
Screencast

Checklist
- [x] I read the extension guidelines
- [x] I read the documentation about publishing
- [x] I ran
npm run buildand tested this distribution build in Raycast - [x] I checked that files in the
assetsfolder are used by the extension itself - [x] I checked that assets used by the
READMEare placed outside of themetadatafolder
Congratulation on your new Raycast extension! :rocket:
We will review it shortly. Once the PR is approved and merged, the extension will be available on the Store.
Hi @pernielsentikaer, thank you for reviewing my code! I finally found what's wrong in your case, and commited following changes.
- Display error message using Toast when API error occurs
- Use more concise description about API token in setting page
If you test in the latest commit, you would see error message like this.

API token you need to set up is "User API token", but I assume you are using "Account API token" (it's very confusing😅) So I updated description in extension setting to note that "User" API token is required. The difference is described in the following page. https://support.pagerduty.com/docs/api-access-keys#section-generate-a-user-token-rest-api-key
Could you follow this guide to generate a new token and test my code again?
Published to the Raycast Store: https://raycast.com/horimislime/pagerduty
@pernielsentikaer Thank you for your review and some additional fixes 😄