Task ID numbering

Monday, November 16, 2026
Avatar

Hi,

How does Task ID work?

For example, one user created a task and that got id of TK:898. A couple of hours later, another user created a new task in the same project and it got id of TK:1898, which is a very big jump. From the log I can't see that anyone created 1000 of tasks; in fact no tasks were created between these two events. There are no tasks TK:899 or TK:1897. Even TK:1000 doesn't exist.

 

How these numbers are allocated in 9.5.0.0?

 

Thanks

2 Replies
Monday, November 16, 2026
Avatar
re: inmarsys Monday, November 16, 2026

Hello,

 

Actually, this is not an issue how Tasks (or any other artifacts) created, but some MS SQL issue explained here:
KB189 - SpiraTeam and KronoDesk have IDs that occasionally jump by 1,000

I appreciate if you can contact support directly in a dedicated ticket for more details.

 

Regards,
Victoria -

Friday, November 27, 2026
Avatar
re: inmarsys Monday, November 16, 2026

This happens because of the MS SQL Server identity cache feature. When the database server restarts or fails over, SQL Server discards unused cached identity values and jumps by 1,000 for integer columns. Since SpiraPlan uses database identity columns to generate artifact IDs across the whole system rather than per project fnf corruption, any restart will cause that sudden gap. If you want to prevent this behavior in the future, your DBA can disable the identity cache at the database level using the ALTER DATABASE SCOPED CONFIGURATION SET IDENTITY_CACHE = OFF command.

 

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Monday, November 16, 2026
  • Last Reply: Friday, November 27, 2026
  • Replies: 2
  • Views: 183