STEP

Extract Datadog Incident ID

This utility step extracts an internal Incident ID, given its friendly id

incident-extract-id

This step extracts an internal ID for a Datadog Incident, given a friendly name.

This requires a Datadog connection with API and User keys.

It's useful because the API requires IDs for operations on existing incidents, but these IDs are not exposed to users, only the "public name".

  • public_id: (string) the numeric part of incident's identifier, for example to look up "IR-2", supply "2"

It sets an output variable incident_id with the internal identifier of the ID.

Integrations in this step

Install the Relay CLI

Relay CLI is an essential companion for authoring and managing workflows. You can install it with a package manager or download it.
brew install puppetlabs/puppet/relay
Learn more about setting up Relay.

How to contribute

We’re excited to see and share in our community’s creation. Take a look at our community overview to learn how to begin contributing to Relay.