Purging old versions of objects in Quality Center Enterprise
We use ther versioning feature in Quality Center Enterprise. Many versions of objects are VERY old and we are never going to roll back to them. Is there a way to purge old versions like there is to purge old runs? I only know of turning off versioning for the project and back on. However, that affects all versioned objects as well as all versions, including n-1 which could be just from a few hours ago which we may need to roll back to.
Good day BrianGKilby,
According to your question, let me inform you that there is not an opcion to delete old version of objects. As a workaround, you can create a copy of the project, then disable version control on the copy, this will clear out all previous versions leaving only latest ones after this you can re enable VC on it and continue creating new versions, extremely important to emphasize to test in on a copy first.
Another option is on the datatase, the is a column called TS_VC_VERSION_NUMBER, here are saved all the version of the object, you can go to this value and delete it.
Also, I found these QCCR's the might be important for you:
- A parameter that tells QC to automatically delete the version histor... - https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/LID/QCCR1J17648
- Ability to delete old versions manually and automatically - https://softwaresupport.hp.com/group/softwaresupport/search-result/-/facetsearch/document/LID/QCCR1J13394
Krystal Mata U.
HP QC/ALM Support Team
(If this post or any other post helps to resolve your issue or query, please mark the thread as solved)
(Posts and opinions made here are my own and do not reflect the opinions of my employer HP in any way)
Have you considered making a backup copy of the project, then turning version control off and on in the original project in order to clear existing versions? If you later decide you need to roll back certain items you could do that in the backup and then manually copy and update them in production. After a reasonable amount of time you could delete the backup project.
[Please do not contact me off line for receiving support. Use the forum!]
Yes, thank you. That is as close as I can come to a solution. I was hoping that HP would pick up this thread and do something like the "Purge Runs" feature but for other assets like Test Plans, Requirements, etc.