Cannot delete projects (deadlock)

I have a few projects which I cannot delete. If I execute the delete project function in JIRA, the site loads forever and nothing happens. My user has JIRA System Administrators privileges and the correct schema is assigned to the projects as well. The projects are pretty small and dosen't contain a lot of issues.

I already tried following:

  • Restart JIRA (Windows Service)
  • Integrity Check
  • Create new Index

I don't find any exceptions messages like "Unable to delete ..." in the log file.

What else can I do to delete those projects?


Edit 1

It seams like JIRA producing a deadlock. As soon as I click on delete, I find following in my MSSQL database:

101 JIRA.BWOR.Test worklog 1358627883 KEY X (@P0 bigint,@P1 nvarchar(4000),@P2 nvarchar(4000),@P3 nvarchar(4000))SELECT SOURCE_NODE_ID, SOURCE_NODE_ENTITY, SINK_NODE_ID, SINK_NODE_ENTITY, ASSOCIATION_TYPE, SEQUENCE FROM dbo.nodeassociation WHERE SOURCE_NODE_ID= @P0 AND SOURCE_NODE_ENTITY= @P1 AND SINK_NODE_ENTITY= @P2 AND ASSOCIATION_TYPE= @P3 jira GRONJIRA1 1 implicit_transaction SQL
101 JIRA.BWOR.Test worklog 1358627883 KEY X (@P0 bigint,@P1 nvarchar(4000),@P2 nvarchar(4000),@P3 nvarchar(4000))SELECT SOURCE_NODE_ID, SOURCE_NODE_ENTITY, SINK_NODE_ID, SINK_NODE_ENTITY, ASSOCIATION_TYPE, SEQUENCE FROM dbo.nodeassociation WHERE SOURCE_NODE_ID= @P0 AND SOURCE_NODE_ENTITY= @P1 AND SINK_NODE_ENTITY= @P2 AND ASSOCIATION_TYPE= @P3 jira GRONJIRA1 1 implicit_transaction SQL

Find more information here . It also happens, if I delte an issue from those projects.

Edit 2

After further research, I notice that only issues with sub issues are affected. Even if I try to delete a sub issue, JIRA creats the deadlock. If I convert the sub issue to a regular issue, everything works fine.

3 answers

1 accepted

I disabled auto commit autoCommit=false for MSSQL in the dbconfig.xml, the issue never occured again. You will find further information in this KB283640022.

@Chander Inguva I did. Have a look at my edit. It seams like a deadlock.

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

2,980 views 12 18
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