Perform operations on users, incidents, service, and escalation policy.
Orchestration apps let you automate repeatable tasks and actions that span across a diverse set of systems and applications using workflows. The list of actions supported for this app includes:
Create A User
Delete A User
Get A User By An Email
Get A User By Id
Update A User
Get A Service By Name
Escalation Policy Management
Get An Escalation Policy By Name
Acknowledge An Incident
Add Note To An Incident
Create An Incident
Escalate An Incident
Get An Incident
Reassign An Incident
Resolve An Incident
Snooze An Incident
Update An Incident
Register an App and add OAuth 2.0 functionality to your app
Log in to your PagerDuty account.
Select Integrations, from the top menu.
Click on Developer Mode from the menu to navigate to the My Apps page.
On the My Apps page in Developer Mode, select Create New App.
Enter the App Name for eg: ‘Freshservice Orch’ and Brief Description.
Choose one category from the Category selection menu.
Select whether or not you intend to publish your app for all PagerDuty users.
Click Save and you will be navigated to the Configure App page.
Navigate to the Functionality Section and click on the OAuth 2.0 card.
You will be directed to OAuth 2.0 Page, and enter a Redirect URL. Click Save. This step is required while configuring the credential store.
Upon saving the popup, a New client secret will open up showing Client ID and Client Secret, copy both values and click on Hide Client Secret Forever.
Now on the Same page go to the Scopes Section select Set Permission Scopes and change its value to Read/Write .
Finally head to the end of the page and click Save.
Finally on the Configure App page head to the end of the page and click Save.
Note: For more information on the credential store, check out https://support.freshservice.com/en/support/solutions/articles/50000003816-centralized-credential-store
Add OAuth 2.0 credentials to the Freshservice Credential Store
Navigate to Freshservice portal Admin → Helpdesk Productivity → Credential Store.
Click on New Credential
Select App Name as PagerDuty - Orch
Enter Client ID and Client Secret(Create an App, step 10. b. - Client ID and Client Secret)
Click on Generate Token and Save, and a new tab opens asking for consent. Grant the consent.
Using Credentials in the PagerDuty Orchestration app
After successfully configuring OAuth 2.0 credentials, navigate to the installation screen of the orchestration app
Click on the credential dropdown and select newly created credentials or search with the name