Will RTC 5.0.2 server support work item # count over 1 million?
Accepted answer
I think the work item ID is an integer so if it is a signed int your max is 2147483647 see
http://en.wikipedia.org/wiki/2147483647
http://en.wikipedia.org/wiki/2147483647
Comments
Ralph, can you confirm the work item ID is a signed integer? Thanks in advance, Mike.
Here the API:
/* * Returns the work item with the given id ornull
if not found * * @param id the id * @param profile the profile of the returned work item * @param monitor a progress monitor ornull
* @return the work item with the given profile * @throws TeamRepositoryException if anything goes wrong, * and {@link PermissionDeniedException} if the * authenticated user's privileges are not sufficient * @see IWorkItem#getId() / IWorkItem findWorkItemById(int id, ItemProfile<iworkitem> profile, IProgressMonitor monitor) throws TeamRepositoryException;
The ID is also a key in the DB. Which is at least 32bit. MAXINT in Java is: 2^31-1 which is 2147483647 and what the API can handle today. That is half that fits into 32 bit. there is no unsigned int in Java.
Thanks Ralph for your work on this. The customer appreciates your quick response.