Loading...
Loading...
Create Azure DevOps work items from a backlog_input.json (the output of classify-work-items) via the bundled create-backlog.cs script. Always does a dry-run validation first and only creates real items after the user explicitly approves. Use this whenever there is a backlog_input.json or any file of items to file in ADO, or when the user says "create these work items", "file the backlog", "push these to Azure DevOps", "create the tickets/bugs/stories", "make the work items", or asks to turn a classified list of findings into a real ADO backlog. This is the step that actually writes to the org, so prefer it over hand-rolling REST/MCP calls when a backlog_input.json exists. After creating, it writes backlog_result.json for ado-writeback-tracking.
npx skill4agent add thodsaphonsonthiphin/workflow-daily-work ado-create-work-itemsbacklog_input.jsoncreate-backlog.csbacklog_result.jsonkeyidurlbacklog_input.jsonbacklog_result.jsonkey${CLAUDE_PLUGIN_ROOT}/references/data-contracts.mdaz login$env:AZDO_PATado-auth$env:AZDO_ORG$env:AZDO_PROJECTorgprojectcreate-backlog.cspowershell -ExecutionPolicy Bypass -File "${CLAUDE_PLUGIN_ROOT}/scripts/setup_check.ps1"typeAZDO_DRY_RUNfalsevalidateOnly=true$env:AZDO_ORG = "Cartagena365" # or rely on the JSON / already-set env
$env:AZDO_PROJECT = "GlassHull"
$env:AZDO_DRY_RUN = "true"
dotnet run "${CLAUDE_PLUGIN_ROOT}/scripts/create-backlog.cs" -- "<path>/backlog_input.json"PASSFAILDRY RUN done. valid=N invalid=M. No work items were created.typeSystem.Title& < >Microsoft.VSTS.TCM.ReproStepsSystem.DescriptionBACKLOG_RESULTfalse$env:AZDO_DRY_RUN = "false"
$env:BACKLOG_RESULT = "<your-working-dir>/backlog_result.json"
dotnet run "${CLAUDE_PLUGIN_ROOT}/scripts/create-backlog.cs" -- "<path>/backlog_input.json"parentSystem.LinkTypes.Hierarchy-ReverseestimateAZDO_AREA_PATHAZDO_ASSIGNED_TOAZDO_ASSIGNED_TOSystem.AssignedTokey … -> <type> #<id>backlog_result.jsonkeyidurltypetitleerroridSystem.WorkItemTypeSystem.Statebacklog_result.jsonwit_get_work_items_batch_by_idscreate-backlog.csbacklog_input.jsonTicket IDTicket URLkeykey"${CLAUDE_PLUGIN_ROOT}/..."