Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
bgColor#FFFAE6

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 Contents

...

minLevel1
maxLevel7

Pipeline Step Setup

Approval Gate Step Configuration

You must use an Approval Gate step for this step. This step must be the FIRST step in the pipeline workflow. Use the following instructions to set up an Approval Gate Step.

  1. In pipeline workflow, create a new step.

  2. In Step Setup, select Approval Gate from the Tool dropdown.

    Image RemovedImage Added
  3. Click the ‘Save' button and exit Step Setup.

  4. Select the gear icon to configure the Approval Gate step.

  5. 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.

    Image RemovedImage Added
  6. Click the ‘Save’ button and close out of the step.

Step Notification

...

in Approval Gate Step Configuration

  1. Once the Approval Gate step has been configured, click the mail icon on the step to open the Pipeline Step Notification Configuration.

  2. Select Microsoft Teams.

  3. Enable the Teams Notification toggle.

  4. Select Notification Level from dropdown.

  5. Select the configured Teams Tool from the dropdown.

  6. Click the ‘Save’ button and exit.

...