Breadcrumbs

Shortcut - Add Comment to Story

Overview

Add a comment to an existing shortcut story

Variables

Name

Reference

Type

Required

Default

Options

Description

Access Token

SHORTCUT_ACCESS_TOKEN

Password

-

-

In order to generate a Workspace specific API token, navigate to Settings > Your Account > API Tokens.

Story ID

SHORTCUT_STORY_ID

Integer

-

-

The ID of the story to which the comment will be added.

Comment

SHORTCUT_COMMENT

Alphanumeric

-

-

The comment to be added to the story.

YAML

Below is the YAML template

YAML

source:
  template: Shortcut - Add Comment to Story
  inputs:
    SHORTCUT_ACCESS_TOKEN:
    SHORTCUT_STORY_ID:
    SHORTCUT_COMMENT:
  type: TEMPLATE
guardrails:
  retry_count: 1
  retry_wait: 0h0m0s
  runtime_cutoff: 1h0m0s
  exclude_exit_code_ranges:
    - 200
    - 201
    - 202
    - 203