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

RQM create snapshot REST API Response

 Dear Team,


I would like to get the response body with revision id when i hit the REST API to create snapshot of a test case. in RQM. I have PROPFIND HTTP method and REST API to get the list of snapshot of the test case. But how will i find out the particular snapshot details from the list of snapshot. The title is not unique for a snapshot and revision-id is not returned when creating snapshot. Is there any REST API ? Is there any way to get the detail of a snapshot as soon as it is created.

My use case : I will be creating a snapshot and  would like to fetch the details of the particular snapshot.

Please help !
Thanks

0 votes


Accepted answer

Permanent link

Have a look at the response to following jazz.net forum question - https://jazz.net/forum/questions/218975/what-does-a-snapshot-request-look-like-for-rqm

The response header of request to create Snapshot should contain the revision no of created snapshot.

Also another workaround for this problem could be to keep track of existing snapshots of a given test artifact. When a new one is created then do another get on all the snapshots for that test artifact, and see which revision number did not exist before previous GET.

Ajith O M selected this answer as the correct answer

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
× 480
× 74

Question asked: Feb 14 '19, 1:06 a.m.

Question was seen: 1,928 times

Last updated: Feb 18 '19, 2:02 a.m.

Confirmation Cancel Confirm