It's all about the answers!

Ask a question

Altering the behaviour of the duplicate function


Dave Payne (81152) | asked Aug 09 '10, 10:32 a.m.
JAZZ DEVELOPER
I want to use the duplicate function to copy all test cases, suites etc to a new project on the same RQM server.

However, when you copy these artifacts they are named 'Copy of test case X' for example.

I understand that it is possible to alter the behaviour of the duplicate function, so that it keeps the same name as the original.

I believe you need to alter some System properties or parameters in your RQM server. However, I have been unable to locate the documentation.

Does anyone know who to ask or where to look for these properties ?

Thanks
D

2 answers



permanent link
Simon Willknotts (6) | answered Aug 11 '10, 2:13 a.m.
Have you asked John Nason. He seems to know everything about the RQMCopy Utility and answers questions on Duplicating projects.

Si

permanent link
John Nason (2.4k1012) | answered Aug 12 '10, 5:00 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
Hi David -
Somewhat bad news: the use of "Copy of" is in fact hard-coded into the duplicate (localized, of course). When we had talked, I had mistaken what was originally discussed during feature elaboration vs. what was actually delivered. The intent was to have it configurable but that was not implemented in time.
Here's the exact behavior:
Local (same project area) copy - "Copy of" is prepended, with an integer id added to the end to avoid name collisions.
Remote (different project area) copy - artifact name stays the same.

The best I could recommend with current code is a filtered search for artifacts that start with "copy of" and then rename them as desired.

Regards,
John Nason
RQM Development

I want to use the duplicate function to copy all test cases, suites etc to a new project on the same RQM server.

However, when you copy these artifacts they are named 'Copy of test case X' for example.

I understand that it is possible to alter the behaviour of the duplicate function, so that it keeps the same name as the original.

I believe you need to alter some System properties or parameters in your RQM server. However, I have been unable to locate the documentation.

Does anyone know who to ask or where to look for these properties ?

Thanks
D

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.