Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JIRA - "Done" issues marked as "Unresolved"

Tags:

jira

I'm a bit of a novice using JIRA and I don't know why this is happening. Lately, whenever I mark an issue as "Done", the system won't update as it being "Closed" but rather keep them as "Unresolved". Why would this happen? I don't know what information I must provide to solve this issue, except that I'm using JIRA 6.1.3, self-hosted, and no extra plugins.

like image 406
Carlos Vergara Avatar asked Feb 14 '23 12:02

Carlos Vergara


1 Answers

That issue is neither fully resolved nor necessarily related, but you might want to check into Fix apparent data integrity violation with closed issues not actually being closed (JRA-34222), in particular Andreas Knecht's comment, summarizing potential race conditions during workflow changes:

Yeah so bulk editing while doing workflow changes definitely has the potential to cause this sort of a problem. JIRA doesn't really lock down a project while doing workflow migrations AFAIK so this kind of thing can always happen if concurrent operations are happening during a migration.

It's a complicated problem with an even more complicated solution. For some reading on an analysis we did ages ago see [not accessible link to 'Concurrency+Problems+in+JIRA']. Also [not accessible link to 'Concurrency+bug']. It's a known problem, but the solution has huge performance implications for JIRA and will take considerable effort to implement and test.

The last comment from a Cisco employee seems to confirm Andreas' summary that this might be a generally applicable issue with JIRA for the time being:

JIRA 5.2.8 we have been having an issue like this for months. I can not view it, but see also: JSP-161469

Recent investigation has correlated "Tried to reopen the IndexReader, but it threw AlreadyClosedException." message as closely following the execution of Jython scripts. [...]

Possible Remedy/Workaround

While not addressing the root cause, you an see from the screenshot attached by Michael Knight that Atlassian seems to have been able to fix the integrity issue at hand by Using the Database Integrity Checker:

enter image description here

This aptly named JIRA feature is useful in a number of situations, e.g.

  • Before migrating a project to a new workflow [emphasis mine]
  • An external program is modifying JIRA's database
  • Troubleshooting a server crash

Using such a tool is obviously not without risks itself, so please note that Atlassian strongly recommend[s] taking a backup of your data before correcting any data inconsistencies accordingly

Good luck!

like image 133
Steffen Opel Avatar answered Mar 04 '23 22:03

Steffen Opel