The following documentation explains how to use an API call with Opsera’s new API endpoint to trigger a pipeline start with an Approval Gate step then approve the pipeline step via Microsoft Teams. The Approval Gate step must be set up with a Step Notification configured to a MS Teams tool.
Panel | ||
---|---|---|
| ||
Prerequisites: To make an external API request to start a pipeline then approve request through MS Teams, you must have a configured MS Teams tool. You must also generate a Personal Access Token with Scope = API Access. For instructions on generating a Personal Access Token, view the https://opsera.atlassian.net/l/c/fSKfvcec documentation. |
...
Table of Content Zone |
---|
Pipeline Step Setup
Approval Gate Step
...
In pipeline workflow, create a new step.
In Step Setup, select Approval Gate from the Tool dropdown.
Click the ‘Save' button and exit Step Setup.
Select the gear icon to configure the Approval Gate step.
In the Step Configuration form, enable the Send Custom Message toggle. Provide a Custom Step Message and Point of Contact.
Note: The Custom Step Message will be overwritten by the API call Notification Message.Click the ‘Save’ button and close out of the step.
...