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?



1 answer

0 votes

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.



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,098 views 4 9
Read article

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