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 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.

thx

John

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

27,022 views 2 7
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