Deletion Vault for Jira — documentation

Deletion Vault keeps a snapshot of each work item when it is created or updated and records every deletion. A Jira administrator can then recreate a deleted work item in its project, with its fields, comments, work logs and links, from the Deletion Vault page.

To see what comes back before you rely on the app, follow the recovery drill on a sample work item.

Install

  1. A Jira administrator opens Apps > Explore more apps, searches for Deletion Vault and selects Get it now.
  2. The app asks for five permissions:

Snapshots start at installation. Work items created before installation are then captured in the background, about 60 per hour, oldest first: on a large site this takes days. A work item deleted before its first snapshot cannot be restored.

How snapshots work

Each time a work item is created, updated or commented on, or its work logs or links change, the app records a snapshot of:

When a work item is deleted, its snapshot moves to the deletion log, together with who deleted it and when.

Open the Deletion Vault page

In Jira, open Settings > Apps, then Deletion Vault in the sidebar. The page lists deleted work items, most recent first, with their project, who deleted them and when. A work item without a snapshot is shown with "No snapshot: cannot be restored". Only Jira administrators can open the page and restore work items. Restoring also uses the administrator's own permissions: browse and create work items in the project are required; comments, work logs, the status and links come back only where the administrator may add comments, log work, transition and link (for a link, the other work item must also be visible to them and linkable in its project). What is skipped for a missing permission is listed with "(permission)" after the restoration.

Restore a deleted work item

  1. Select Restore next to the work item.
  2. The app creates a new work item in the same project, with the fields of the snapshot. If Jira refuses a field (a component or a user that no longer exists, for instance), the work item is created without it and the page lists the fields left empty. A subtask needs its parent: if the parent was deleted too, it is restored first, and the subtask joins it under its new key. If no snapshot of the parent exists, the work item comes back without a parent when Jira allows it.
  3. The original comments are added back, each starting with a line that names its author and date; a last comment records the restoration: original key, who deleted the work item and when, and who restored it. A comment so long that Jira would refuse it with that line added (Jira's limit is 32,767 characters) is added back whole, without that line, and the last comment names its author and date.
  4. Work logs come back with their original date and duration, and the original author named in their comment. Jira records the app as their author. The remaining estimate is left as it is.
  5. Links are recreated. A link to a work item that was restored too points to its new key. A link to a work item that is still deleted is skipped, and the page says so.
  6. The page shows the new key: select it to open the restored work item.
  7. Under the new key, the page lists what came back: the number of comments and their authors, the number of work logs with the total time spent and who logged it, and the links recreated with their type and work item. Long lists are shortened (three people, five links, then "and N others"). The text of the comments is never shown.

Restore several work items at once

After a bulk deletion, tick the work items to restore, or tick the box in the header to select every work item that can be restored, then select Restore selected.

Why not an Automation rule?

A Jira Automation rule triggered when a work item is deleted receives its fields, but none of its comments. A second rule can copy each new comment into a field beforehand. In our tests on a Jira Cloud site, that copy kept comments added one at a time, but it silently dropped one of two comments added at the same time, did not follow an edited comment, stopped copying with a rule error once the field reached 32,767 characters, and used two to three automation steps per comment. In the same tests, Deletion Vault restored both comments added at the same time, also when the work item was deleted three seconds later, restored the edited text of a comment, and restored comments of 20,000, 15,000 and 32,700 characters as separate comments, without using automation steps. It keeps the last 100 comments of a work item: beyond that, the page says how many are missing.

The pair of rules we tested is a free download, with what it covers and what we measured: https://support-atlassian.portefeuille-ia.workers.dev/i04/native-rule

What is not restored

Retention

Expired data is removed by Atlassian's storage automatically; nothing has to be cleaned by hand.

Permissions and data

See the privacy policy.

Troubleshooting

MessageCause and solution
This deletion is no longer recorded.The log entry expired (180 days) or was already removed: reload the page.
This work item was already restored.Someone restored it already: the page shows the new key.
No snapshot of this work item exists: it cannot be restored.The work item was deleted before its first snapshot (older work items are captured in the background after installation), or its snapshot had expired.
Jira refused to create the work item:Jira's own message follows: often the project or the work type no longer exists, or the project's required fields changed.
Only Jira administrators can restore work items.Ask a Jira administrator to open the Deletion Vault page.
To restore this work item, you need permission to browse and create work items in this project.Grant these project permissions to the administrator (project settings > Permissions), or ask an administrator who has them.
The license of this app is inactive: contact your Jira administrator.The subscription has ended: an administrator can renew it in Apps > Manage apps.
Restoration failed: try again later.Jira did not answer: try again in a few minutes.

For any other question, see support.