Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How ro find the deleted issues using API

Developer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 23, 2024

I want to find the deleted issues using the API for Integration purposes

5 answers

2 votes
Yuliia_Borivets__SaaSJet_
Atlassian Partner
January 23, 2024

Hi @Developer 

If the issues are deleted in Jira, you can't find them unless you haven't created a backup.

The add-ons from the marketplace work only for issues that are deleted after the app is installed.

Some ways to prevent losing deleted issues in the future:

  • Protect your projects with backups. In case, you have backed up your project, start a new JIRA instance and import the issues from the backup. Jira Cloud - Restore Issues & Site from Backup
  • Get the app from the Atlassian Marketplace. I can recommend one from my team, it's called Issue History for Jira. You can track and restore deleted issues here. 30-day free trial. You can only find and restore the issues after you install the app and activate the option.
1 vote
Mehmet A _Bloompeak_
Atlassian Partner
January 26, 2024

Hi @Developer

Welcome to the Atlassian Community!

By default, Jira does not track deleted issues and deleted issues are lost forever. To prevent it happening again, you can try Restore Deleted Issues app developed by our team. In order for this app to work, the app must have been installed before the issue is deleted.

After you install this app,

  • Both bulk and single issue deletions are logged.
  • You can see when and by whom issues are deleted.
  • You can recover summary, description, comments except attachments.

Below you can find an article about tracking and restoring deleted issues in Jira.

How to Track and Restore Your Deleted Issues in Jira

Hope it helps.

1 vote
Vish Reddy {Revyz}
Community Champion
January 23, 2024

Hi @Developer 

I am part of Revyz. There are multiple solutions for what you are asking about, depends on the goal you are trying to achieve.

  • If your goal is to just get notified when an issue is deleted:
    1. Subscribe to the deletion webhooks that Atlassian provides
    2. Use a third party app
  • If your goal is to be able to restore that issue back
    1. Reference my post on this topic here

 

One thing to note is that if you subscribe to the deletion webhooks or use an third party app that does something similar for you, then you will not be able to restore all the data back based on the webhook payload. The Webhook payload does not have attachments included.

 

Hope this helps in achieving your goal.

Thanks

Vish

1 vote
Nikola Perisic
Community Champion
January 23, 2024

Welcome to the community @Developer ,

There is no API for the deleted issues. 

Page for reference: https://community.atlassian.com/t5/Jira-Software-questions/Get-Deleted-issues-in-jira/qaq-p/1705697

You can use the 3rd party app to restore them.

0 votes
Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 23, 2024

Hello '@Developer

Start by Googling 'jira jql deleted issues' to find where that question has already been asked before and already answered.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events