Skip to main content
Skip table of contents

Shortcut - Edit Story

Overview

Use this function to easily update different fields of an existing story in a project management system. It empowers you to modify essential details such as the story's name, workflow state, description, story type, labels, deadline, and tasks.

Variables

NameReferenceTypeRequiredDefaultOptionsDescription
Access TokenSHORTCUT_ACCESS_TOKENPassword--n order to generate a Workspace specific API token, navigate to Settings > Your Account > API Tokens.
Story IDSHORTCUT_STORY_IDInteger--The ID of the story to be updated.
Story NameSHORTCUT_STORY_NAMEAlphanumeric--The name you wish to update the story to
Workflow State IDSHORTCUT_WORKFLOW_STATE_IDInteger-- ID of the workflow state you wish to move the story to
DescriptionSHORTCUT_DESCRIPTIONAlphanumeric--The updated description for the story.
Story TypeSHORTCUT_STORY_TYPESelect-Feature: feature

Bug: bug

Chore: chore
The new type of the story (feature, bug, or chore).
LabelsSHORTCUT_LABELSAlphanumeric--Comma-separated labels to be added to the story.
DeadlineSHORTCUT_DEADLINEAlphanumeric--The new deadline for the story.
TasksSHORTCUT_TASKSAlphanumeric--Comma-separated tasks to be added to the story.

YAML

Below is the YAML template

YAML

source:
  template: Shortcut - Edit Story
  inputs:
    SHORTCUT_ACCESS_TOKEN:
    SHORTCUT_STORY_ID:
    SHORTCUT_STORY_NAME:
    SHORTCUT_WORKFLOW_STATE_ID:
    SHORTCUT_DESCRIPTION:
    SHORTCUT_STORY_TYPE:
    SHORTCUT_LABELS:
    SHORTCUT_DEADLINE:
    SHORTCUT_TASKS:
  type: TEMPLATE
guardrails:
  retry_count: 1
  retry_wait: 0h0m0s
  runtime_cutoff: 1h0m0s
  exclude_exit_code_ranges:
    - 200
    - 201
    - 202
    - 201

      
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.