For training reasons you create a demo project with a demo scrum board a demo sprint, then you start the sprint and then you complete it. When the training is over you delete the board and the project but the sprint aren't deleted and remain "alive" in the system, at the moment we have about 25 useless "Sprint 1"! How can those zombie sprints be annihilated? I know that it can't be done from the UI, I mean annihilate them in the db.
I have deleted them from the db, but it wasn't really simple, because a lot of "demo" rapid boards were still in the database (Why? They had been deleted, they weren't anymore visible in the UI!) and to delete them you have to delete a lot of entries in many tables due the foreign key constraint.
I always wonder, why the DB experts never use the "on delete cascade" option in the foreign key constraint, this option is exactly though for such cases, to don't have to delete hundred of rows in dozen of tables to delete only one entry in one table. When the model is a (UML) composition, namely the object owns the parts, which alone don't make any sense, and the object is disposed (deleted) also the parts must be disposed (deleted).
The "on delete cascade" option has two great benefits, first it maintains consistency in the database, because it takes care to delete the parts if the object is deleted, and second it reduces the traffic to the database, because you have only to send one delete statement and not twenty delete statement and perhaps twenty select statement before them.
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 ...
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!
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