how to delete an issue from database

I have an issue that the "epic" accidentally got deleted. Now the issue is corrupted and as an admin, I can't go to more and "delete". Looks like it has to be deleted by my database person. He doesn't know how to do it.

can I get step by step instructions he can follow?

Thanks

John

1 answer

0 vote

Ugh, no, deleting an issue via SQL can take hits on several tables, and often multiple ones.  You have to be extremely careful to only hit one issue, and even more careful to check that you get the whole thing.

How did you do this "accidental delete"?  If it was done properly in the UI or over REST, then the code should not have "corrupted" anything, it will have deleted it and severed any links to other issues. 

Even if this "corruption" just means "it's gone and things have changed" rather than an actual corruption, you still need to know exactly what is wrong and missing, so you can work out what needs doing to fix it (deleting with SQL is almost certainly going to be the wrong answer)

Nic, first, thanks for getting back do fast. Great job. Ok, I will not pursue the remove from database path.
Update: it seems to have resolved itself (JIRA Magic), we can edit it without getting error messages. So, "don't look a gift horse in the mouth", meaning it is fixed, but I don't know how it got fixed.

thx

John

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,241 views 14 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot