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
- A Jira administrator opens Apps > Explore more apps, searches for Deletion Vault and selects Get it now.
- The app asks for five permissions:
read:jira-work: read work items, comments, work logs and links to take snapshots;
write:jira-work: recreate a work item with its comments, work logs and links when an administrator restores it;
read:jira-user: read display names, to show who deleted a work item and who wrote each comment;
storage:app: keep snapshots and the deletion log in the app's storage at Atlassian;
report:personal-data: tell Atlassian which account identifiers the app stores, so that closed accounts are erased and renamed accounts updated.
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:
- summary, description, work type, priority, labels, components, assignee, reporter, parent, due date, environment and status;
- custom fields whose value can be written back;
- the last 100 comments, with their author and date;
- the first 100 work logs, with their author, date and duration;
- its links to other work items.
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
- Select Restore next to the work item.
- 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.
- 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.
- 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.
- 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.
- The page shows the new key: select it to open the restored work item.
- 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.
- Each work item is restored exactly as above, with the same fallbacks and the same restoration note.
- A parent selected with its subtasks is restored first, and the subtasks join it under its new key.
- A failure does not stop the others: the summary gives the number restored, the reason for each failure and the fields left empty for each work item.
- The app works through the selection in small batches, one after the other, while the page stays open. If you close the page, the batch already sent finishes and the next ones are not sent: reopen the page, and the log shows each work item as restored, partly restored or still to restore. Select the remaining ones again.
- A work item with many comments or work logs may take longer than one batch allows. It is then paused and shown as "Partly restored as …" with a Resume button; the next batch resumes it automatically.
- Resuming never creates a work item twice: the app marks each restored work item when Jira creates it, finds it again by that mark if the answer from Jira was lost, reads what it already contains and only adds what is missing. Comments added by people to a partly restored work item before it is resumed may make the app skip the same number of original comments.
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
- Attachments and history: the note added to the restored work item says so.
- The original key: Jira gives the restored work item a new key.
- The status, when the workflow has no direct transition from the initial status: the page says so.
- Custom fields that are not on the create screen, or that Jira refuses: the page lists those it refused.
- Sprint, watchers and votes.
- Comments beyond the last 100, and work logs beyond the first 100. When a snapshot is truncated, whether by these limits or because it was too large to be kept whole (oldest comments, then work logs, then custom fields, then the description and environment are dropped), the page says "Partial restoration" and names what is missing: the number of comments, the number of work logs and the fields. These are not reported as refused by Jira.
- Work items deleted before the app was installed, or before their first snapshot.
Retention
- A snapshot is kept as long as the work item exists, however long it stays unchanged.
- A deletion log entry, with its snapshot, is kept for 180 days after the deletion, then expires.
- After uninstallation, Forge hosted storage keeps the app's data for 28 days, then removes it. Reinstalling does not bring it back.
Expired data is removed by Atlassian's storage automatically; nothing has to be cleaned by hand.
Permissions and data
- Snapshots and the deletion log are stored in the app's storage on Atlassian's Forge platform.
- The app has no external network access: your data never leaves Atlassian.
- Only Jira administrators can see the deletion log and restore work items.
See the privacy policy.
Troubleshooting
| Message | Cause 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.