How can I delete "copies" and "copied from" from my work items? Maybe using the Java API?
![]() Hello there, we had to create a huge amount of epics/user stories lately; and unfortunately our admin did not allow us to create "team specific" work item templates. So many of us used the "duplicate" feature on work items to save some typing. That works fine ... but in the end ... you end up with many work items that have useless (therefore distracting) "copies" resp. "copied from" links. I really would like to get rid of those. Long story short: is there any way to do that (obviously the UI doesnt allow it)? I put together some java code that allowed me to fix the summary string of some work items; but I couldnt find any way to delete these "duplications artifacts". Any idea, anybody? |
Accepted answer
One other answer
![]()
I just have the same issue and found another option myself (for RTC 5.0.x / RTC 6.0).
We can use CSV export/import for workitems to remove the "Copied from" Link (and Copies to link as well). 1. Using Eclipse Client, export Workitem ID and Copied From link info as csv file. Such like ID,Copied from 10,#3 2. Remove the value of "Copied from" in csv and save the file. ID, Copied from 10, 3. Import worrkitems from csv file using "Update matched Work Item" and "Replace existing links with newly imported values" options. Hope this helps. |