Skip to main content

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 for this Blueprint and can be used in the Fleet YAML Editor.

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