It's all about the answers!

Ask a question

How to modify creation date of workitem -RTC 7.0.2

Namrata B (213) | asked Oct 06 '22, 11:23 p.m.
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

permanent link
Ralph Schoon (62.7k33643) | answered Oct 07 '22, 3:03 a.m.

The only chance you would have is to use the Java API and try to use the internal method:

I am not sure if that would work, I have not tried it yet. The 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: if you want to understand how to use the Java APIs.

Ralph Schoon commented Oct 07 '22, 11:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER now has the capability to set the creation date on initial creation of an item. Please note, if a work item has already been created and the creation date has been set, it is no longer possible to change the creation date, no matter what you do.

The main branch for WCL is now on 7.0.2SR1. It has the same code but I have not yet created a release. 

Your answer

Register or to post your answer.