Skip to main content
Skip table of contents

How to Delete a Jira Work Item After Merging

Deleting work items after merging them in Jira is generally inadvisable, as it preserves the record of all interactions with each work item, even duplicates. However, you can easily set up a solution to automatically delete merged work items using Merge Agent for Jira and a simple Jira Automation.

  1. Create a dedicated status for merged work items, e.g. MERGED.

    • Go to ⚙️ Settings > Work items > Statuses.

  2. Add the status to your space’s workflow.

    • Add a rule to restrict the transition to this status, so only members of the group atlassian-addons-admin can transition work items to this status. This way, no user can accidentally delete work items.

image-20260127-102307.png
  1. Create a Jira Automation to delete work items that transition to the MERGED status.

image-20260127-102429.png
  1. Use the Transition feature of Merge Agent for Jira when merging work items to transition the work item to the MERGED status after merging and deleting it via the Jira Automation.

image-20260127-102622.png

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.