How to modify creation date of workitem -RTC 7.0.2
Hi All,
We have migrated a lot of workitems from a project area to different project area in RTC .
But now all of the creation dates of the new WorkItems are from the day when the migration occurred. We would like to change these to be the date when the original work was created.
I tried using RTC import csv functionality by exporting a few workitems , modifing the creation dates and importing back. It shows an error "The workitem with ID 1234 cannot be saved because an attempt was made to change attribute '[Creation Date]' which are not modifiable".
Can anyone please help me how we can have it to be modified, or is there any other way ?
Thanks in advance
One answer
The only chance you would have is to use the Java API and try to use the internal method: com.ibm.team.workitem.common.model.IWorkItem.setCreationDate(Timestamp)
I am not sure if that would work, I have not tried it yet. The work item command line https://github.com/jazz-community/work-item-command-line does not use that method and can not modify the creation date or creator. I will consider to have a look and see if it can support it.
You can start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ if you want to understand how to use the Java APIs.