How to delete a ghost issue?

Alex Heng
Contributor
September 15, 2011

Hi All, somehow I generated a ghost issue, is shows up in the dashboard but cannot be deleted. when delete it shows "There was a system error trying to delete the issue"

I checked the log and see

error message: /secure/DeleteIssue.jspa [webwork.util.ValueStack] query="/numberOfSubTasks" {[id="null" type="5" values=""]} {[id="numberOfSubTasks" type="8" values=""]}

Can someone please help me out? Thanks!

2 answers

1 accepted

0 votes
Answer accepted
Logan G Hawkes
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.
September 16, 2011

We're gonna need more information. Check the database. The mysql query should be something like:

select * from jiraissue where pkey like JIRA-123;

Assuming that there's no smoking gun there, like the issue not existing or being the wrong issue type or somesuch, check the subtasks that are associated with the issue:

select * from issuelink where SOURCE=(select id from jiraissue where pkey='JIRA-123');

This should give you some more information to work with.

Alex Heng
Contributor
September 16, 2011

Thanks. This is installed on a linux system with default database. Can you please tell me how to access the database? Thanks.

0 votes
Logan G Hawkes
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.
September 16, 2011

You're running HSQL? Oooo, this may be a problem. HSQL is not recommended for production instances of Jira. Here's a link to the Jira docs on connecting to an HSQL DB. The syntax of the above commands may differ.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events