creating-fix-work-item

Originally fromforcedotcom/sf-skills
Installation
SKILL.md

Prerequisites

Load checking-devops-prerequisites first — Prerequisites 1–4. You need doce-org-alias, the DevopsProjectId to file under, and an OwnerId (assignee). If no DevopsProject exists, surface that the work item cannot be created until a project exists.

Inputs required before creating

Input How to obtain
DevopsProjectId From the pipeline's associated project — query DevopsProject WHERE Name = '<projectName>' on the doce org if not already known
Subject Derived from failure analysis — e.g. "Fix: Missing code-analyzer-v5.yml workflow in blitz-10-06 repository"
OwnerId User ID of the developer to assign to — query SELECT Id, Name FROM User WHERE Username = '<username>' on the doce org if not known. Ask the user if the username is unknown.
doce-org-alias Established in Prerequisites

Confirmation gate

Before creating the work item, show a summary and wait for explicit confirmation:

Installs
23
GitHub Stars
613
First Seen
3 days ago
creating-fix-work-item — forcedotcom/afv-library