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.
Create a dedicated status for merged work items, e.g. MERGED.
Go to ⚙️ Settings > Work items > Statuses.
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-admincan transition work items to this status. This way, no user can accidentally delete work items.

Create a Jira Automation to delete work items that transition to the MERGED status.

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.
