REST API for baseline in RQM
Dear Team,
In this page(https://jazz.net/wiki/bin/view/Main/RqmApi), it is been mentioned that
"As of Rational Quality Manager 6.0.3, the Baseline resource type is a supported resource type in the Reportable REST API. This means that clients can create a baseline, get a feed of baselines, and get the details of a particular baseline. Note, requires Configuration Management (CM) to be enabled for the project area."
I would like to have the REST APIs for the same. Please help me by giving the API urls and the headers to give to get proper response.
|
Accepted answer
Thanks Murali and who has helped. I got the answer myself after trying so much:
1.Create Baseline with API
1.1. API : https://hostname/qm/localVersioning/configurations/baselines Request Body : { "name": "Test baseline", "description": "Testing", "configurationId": "_yzHtL5ceEmbPnRT_G_Q" } ConfigurationId is the stream UUID which we get from the artifact URL or using anyother way possible.
2. API to fetch test artifacts from a baseline :
https://hostname/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestProject/testplan/urn:com.ibm.rqm:testplan:67? vvc.configuration=https://hostname/qm/service/com.ibm.rqm.integration.service.IIntegrationService/resources/TestProject/ baseline/_b_0VoKvEemU8SCp_Uorg
Ralph Schoon selected this answer as the correct answer
|
2 other answers
Hi Ajith - to get the headers refer to the following section -
For API calls - https://jazz.net/wiki/bin/view/Main/RqmApi#RQM_API_Utility
If you have any additional requirements from training perspective - Please contact IBM Services and we shall do the needful.
Comments Thanks for the response.
I have gone through all of it and tried few cases,but I was not getting proper response. Im able to create baseline and stream from UI.
I would like to know the REST API URL to create baseline in RQM and the request headers/body required for hitting the API URL and getting proper response
|
Ajith -
Request you to go through the following links and this would help you navigate through.
This would help you in building up the URL you are looking for.
Comments
Ajith O M
commented Jun 19 '19, 1:22 p.m.
Thanks for , thanks for response.
I have gone through all of this and I have been working with other REST APIs related to Rqm. Other APIs like post methods to update attribute in test artifact, creating snapshot,fetching test artifact details and all these works fine and its giving me proper response.
Only doubt and inputs i need is related to baseline. Creating a baseline through REST API with proper headers/body. Please help me on this by providing the REST API for creating baseline.
|
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.