Bug Fix Batch Merge Finalize

Finalizes a merged batch-fix PR: updates the batch epic, links results back to each bug, and moves the batch tickets forward.

Parameters

Configured via customParams in the agent JSON or the project .dmtools/config.js (project values win).

  • removeLabel — label removed from the ticket after a successful run (idempotency cleanup).

Human doc: agents/docs/agents/bug_fix_batch_merge_finalize.md

Attributes

AttributeValue
JobTeammate
Configbug_fix_batch_merge_finalize.json
ContextIdbug_fix_batch_merge_finalize
outputTypenone
skipAIProcessingtrue

Prompt snapshot

Full prompt / instruction set: agents/snapshots/bug_fix_batch_merge_finalize.md

Actions

postJSAction: finalizeBugFixBatchMerge.js

Finalize Bug-fix Batch Merge

  • Source: agents/js/finalizeBugFixBatchMerge.js
  • Side effects:
    • post ticket comment (via tracker)
    • move ticket to status (via tracker)
  • Parameters (customParams):
    • branchCreateFnPath
    • childQuestions
    • contexts
    • dryRun
    • fields
    • jql
    • parentContextFetch

LLM step

  • outputType: none
  • Prompt snapshot: agents/snapshots/bug_fix_batch_merge_finalize.md

Custom params

  • removeLabel: "sm_bug_fix_batch_finalize_triggered"
  • branchCreateFnPath (used by JS action)
  • childQuestions (used by JS action)
  • contexts (used by JS action)
  • dryRun (used by JS action)
  • fields (used by JS action)
  • jql (used by JS action)
  • parentContextFetch (used by JS action)

Generated by js/agentDocGenerator.js

View the agent config on GitHub →

Generated from bug_fix_batch_merge_finalize.json in the agents repository and its human doc — edit either and the page follows. Last updated .