RTC - how to reset record id for a project area?
I have a set of problem tickets currently managed in a spreadsheet. I am evaluating RTC to see if we can switch to it for managing the tickets. I'm able to create a customized work item and add custom attributes as well as create an editor presentation for editing the customized work item.
When i created my first work item for the project area, the internal record id is not 1 but rather 1481. Is there a way to reset the record id counter back to 1 for the project area? I want to import the problem tickets using the CSV format but want to retain the original ticket numbers which start at 1.
I'm using the RTC 3.0.1 Eclipse UI client but I haven't come across anything in the UI that allows me to reset the internal record id counter. Is it even possible? The RTC installation I'm using is shared by several other project teams so it seems the record id is being shared across all the projects? I would like the record id to be unique to my project area. If I attempt to import my problem tickets by CSV and set the Id field using my original ticket numbers what is going to happen? Would it overwrite existing work items of the other projects?
When i created my first work item for the project area, the internal record id is not 1 but rather 1481. Is there a way to reset the record id counter back to 1 for the project area? I want to import the problem tickets using the CSV format but want to retain the original ticket numbers which start at 1.
I'm using the RTC 3.0.1 Eclipse UI client but I haven't come across anything in the UI that allows me to reset the internal record id counter. Is it even possible? The RTC installation I'm using is shared by several other project teams so it seems the record id is being shared across all the projects? I would like the record id to be unique to my project area. If I attempt to import my problem tickets by CSV and set the Id field using my original ticket numbers what is going to happen? Would it overwrite existing work items of the other projects?
Accepted answer
The RTC workitem ID's are system wide, not project specific.
no, you should not be able to overwrite workitems not in your project.
you cannot 'set' the id by import. you CAN update existing workitems in your project with those ID's
no, you should not be able to overwrite workitems not in your project.
you cannot 'set' the id by import. you CAN update existing workitems in your project with those ID's
Comments
4 other answers
Whether or not you are migrating, if you actually want to control the values that show in an "ID" field, then you will want/need to create a custom ID property, with your own custom work item save process adviser code that initializes that custom ID property. For example, if you want that ID to be project area specific, and not have gaps, you would need to use that custom ID field.
Comments
Hi All,
I too have similar requirement. Is there any other solution than adding custom ID.
Can I set some value with admin access so that next newly created Work Tickets should start from No-1000 ?
Or Can I change existing WT ID with different value?
Thanks,
Kavita
Please see this community contributed extension for creating a custom consecutive ID: Extension to generate unique custom work item numbers
Comments
1 vote
1 vote
showing 5 of 8
show 3 more comments