Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

how to reinstate a deleted test case?

I deleted a couple of test cases by mistake. Any way to reinstate these?

Thanks
:oops:

1

0 votes



5 answers

Permanent link
Unfortunately, you cannot unarchive a test resource from the RQM UI (https://jazz.net/jazz02/resource/itemName/com.ibm.team.workitem.WorkItem/52743). You can use Poster to make a REST call, but it's unsupported:

https://<server>/service/com.ibm.rqm.planning.common.service.rest.ITestCaseRestService/archiveTestCases?uuids_versionable=<test>&archive=false&processArea=<project>

0 votes

Comments

I tried the URL (http instead of https) using Firefox and got a file returned

archiveTestCases

how can I open it?

Try any text editor.

Thanks Paul,

I only see something like this



In some editor it shows something like

NAK   ETX   SOH    NUL    STX   STX

and I do not see that the test case was restored back. I understand that NAK is not a good sign at all. But I have no idea why my request like this was declined. Any idea Paul?

719057 is the ID of the deleted test case and 4-p9oI2WEd6VtItmR49FfQ
 is the project area.

Unfortunately, we cannot persue this further since this is not a public API.  To restore resources, see As a User, I want to restore artifacts from the Trash/Audit view (80449).

Jared elaborated more based on your idea. http://jaredrussell.wordpress.com/

Then I realized that I cared too much about the result and tried your URL immediately with firefox once I saw it, never read it again until I came across Jared article and realized it was for REST API.


Permanent link
Hi Paul

Thanks for the feedback. I suspected this might be the case.

I deleted the test cases while modifying the "suspecct" status in the View Test Cases. I was selecting mulitple test cases and changing the status but rather stupidly selected delete instead.

Is there any way of changing the permissions on who can delete a test case (and by this I mean total delete and not just removing the association with a test plan)? I looked on the roles/permissions section of the JTS but could not find a field relating to the Deletion of test cases.

Cheers

Una

0 votes


Permanent link
Unfortunately, you cannot set a delete permission on test cases.

0 votes


Permanent link
See this article Recovering Collaborative Lifecyle Management application data for production restore - Library: Articles - Jazz Community Site

0 votes


Permanent link
Hi,
you might want to track this plan item that considers related features:
https://jazz.net/jazz02/web/projects/Rational%20Quality%20Manager#action=com.ibm.team.workitem.viewWorkItem&id=52743
Regards,
Stéphane


0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 20 '12, 9:06 a.m.

Question was seen: 5,737 times

Last updated: Apr 12 '13, 11:50 a.m.

Confirmation Cancel Confirm