Alle Befehle · lifecycle

pm close many

Bulk-close matched items with a shared reason and full runClose semantics (dry-run + rollback checkpoint).

Bulk-closes matched items with a shared reason routed through full pm close semantics (close validation, active-child orphan checks, blocked-edge cleanup) plus dry-run previews and rollback checkpoints — unlike update-many --status closed, which bypasses close validation.

Aufruf

pm close many [options]

Optionen

--filter-status <value>Filter by status before closingoptional
--filter-type <value>Filter by item type before closingoptional
--filter-tag <value>Filter by tag before closingoptional
--filter-priority <value>Filter by priority before closingoptional
--filter-deadline-before <value>Filter by deadline upper bound before closingoptional
--filter-deadline-after <value>Filter by deadline lower bound before closingoptional
--filter-updated-after <value>Filter by updated_at lower bound before closing (ISO/relative)optional
--filter-updated-before <value>Filter by updated_at upper bound before closing (ISO/relative)optional
--filter-created-after <value>Filter by created_at lower bound before closing (ISO/relative)optional
--filter-created-before <value>Filter by created_at upper bound before closing (ISO/relative)optional
--filter-assignee <value>Filter by assignee before closingoptional
--filter-assignee-filter <value>Filter assignee presence: assigned|unassigned before closingoptional
--filter-parent <value>Filter by parent item ID before closingoptional
--filter-sprint <value>Filter by sprint before closingoptional
--filter-release <value>Filter by release before closingoptional
--filter-has-notesSelect only items that have notes before closingoptional
--filter-no-notesSelect only items that have no notes before closingoptional
--filter-has-learningsSelect only items that have learnings before closingoptional
--filter-no-learningsSelect only items that have no learnings before closingoptional
--filter-has-filesSelect only items that have linked files before closingoptional
--filter-no-filesSelect only items that have no linked files before closingoptional
--filter-has-docsSelect only items that have linked docs before closingoptional
--filter-no-docsSelect only items that have no linked docs before closingoptional
--filter-has-testsSelect only items that have linked tests before closingoptional
--filter-no-testsSelect only items that have no linked tests before closingoptional
--filter-has-commentsSelect only items that have comments before closingoptional
--filter-no-commentsSelect only items that have no comments before closingoptional
--filter-has-depsSelect only items that have dependencies before closingoptional
--filter-no-depsSelect only items that have no dependencies before closingoptional
--filter-has-bodySelect only items that have a non-empty body before closingoptional
--filter-empty-bodySelect only items with an empty body before closingoptional
--filter-has-linked-commandSelect only items whose linked tests carry a runnable command before closingoptional
--filter-no-linked-commandSelect only items whose linked tests carry no runnable command before closingoptional
--filter-reviewer-missingSelect only items missing reviewer before closingoptional
--filter-risk-missingSelect only items missing risk before closingoptional
--filter-confidence-missingSelect only items missing confidence before closingoptional
--filter-sprint-missingSelect only items missing sprint before closingoptional
--filter-release-missingSelect only items missing release before closingoptional
--ids <value>Explicit ID allowlist: comma/newline text, - stdin, or @path fileoptional
--limit <n>Limit matched item count before apply/previewoptional
--offset <n>Skip first n matched rows before apply/previewoptional
--reason <value>Shared close reason applied to matched items (required when governance.require_close_reason is enabled)optional
--completed-at <value>Actual completion timestamp (ISO or relative) applied to every matched itemoptional
--resolution <value>Shared closure resolution applied to every matched item (closure-validation field)optional
--expected-result <value>Shared expected-result note (closure-validation field)optional
--expected <value>Short alias for --expected-resultoptional
--actual-result <value>Shared actual-result note (closure-validation field)optional
--actual <value>Short alias for --actual-resultoptional
--validate-close [mode]Validate closure metadata per item: "off", "warn", or "strict" (default: settings governance preset)optional
--author <value>Mutation authoroptional
--message <value>History messageoptional
--forceRe-close already-terminal matches and override ownershipoptional
--dry-runPreview matched items + per-item skip/active-child plan without mutatingoptional
--rollback <value>Rollback a prior close-many checkpoint IDoptional
--no-checkpointDisable checkpoint creation during apply modeoptional

Beispiele

pm close many --filter-sprint S-12 --reason "Sprint S-12 acceptance criteria met" --dry-run

Verwandte Befehle