Skip to main content

Reporting Past Deployments

When, why, and how to report recent deployments to Teambit

Andres Arellano avatar
Written by Andres Arellano
Updated over 4 months ago

When should you use this guide?

  • There’s missing information about past deployments, and you want to fill in the gaps.

  • You want more accurate details about when your PRs were deployed to production.

How to report deployments

Step 1. Prepare a list of:

  1. Deployments by PR: When each PR was deployed. You’ll need:

    1. PR number

    2. Full repository name

  2. Deployments by Commit: When a specific commit SHA was deployed. You’ll need:

    1. Commit SHA

    2. Full repository name for each commit

Step 2. Obtain a Teambit API Key

Go to organization settings, locate the Teambit API section, generate a token, and copy it.

Step 3. Create a script to call the Teambit API for each deployment from Step 1

Refer to the documentation. It explains what to send, possible responses, and includes usage examples.

Step 4. Notify Teambit once the deployments are created

The Teambit team will ensure that PRs use the reported deployments to calculate cycle time.

Did this answer your question?