How to fetch CCM projects which are associated with the QM project via REST API?
Hi,
I have added an association between the CCM project areas with some QM project Area to link the defect when the Test Case marked as a failed.
Select QM Project Area -> Select Manage this project Area -> Go to Associations -> add the ccm project area
After execution of the Test case on the Test Case Result page select defect option and link the defect with the Test case.
Question 01: How to fetch the Project Area of CCM which are associated with the QM project area using the REST API?
Any pointer regarding this is highly appreciated.
Thanks
Rahul
I have added an association between the CCM project areas with some QM project Area to link the defect when the Test Case marked as a failed.
Select QM Project Area -> Select Manage this project Area -> Go to Associations -> add the ccm project area
After execution of the Test case on the Test Case Result page select defect option and link the defect with the Test case.
Question 01: How to fetch the Project Area of CCM which are associated with the QM project area using the REST API?
Any pointer regarding this is highly appreciated.
Thanks
Rahul
One answer
Unfortunately, this information is not available using the Project Feed Service of the RQM REST API.
You may want to check out the provisional Process REST API.
You may want to check out the provisional Process REST API.
Comments
Hi Paul,
Thanks for your answer!!
Get Request on URL :
https://localhost:9443/qm/process/project-areas/<project-area-encoded-name>/links
I got the following response:
<jp:links> <jp:link jp:projectArea="https://localhost:9443/qm/process/project-areas/_a3XPwJR-EeOvZ9weTJjFMw"> <jp:url> https://localhost:9443/qm/process/project-areas/_a3XPwJR-EeOvZ9weTJjFMw/links/_nC70x5R-EeOvZ9weTJjFMw </jp:url> <jp:link-type>tests</jp:link-type> <oslc:ServiceProvider> <dc:title>JKE Banking (Change Management)</dc:title> <oslc:details rdf:resource="https://localhost:9443/ccm/process/project-areas/_W4g0kpR-EeO_UoHD7ytb-g"/> <oslc:services rdf:resource="https://localhost:9443/ccm/oslc/contexts/_W4g0kpR-EeO_UoHD7ytb-g/workitems/services.xml"/> <jp:consumerRegistry rdf:resource="https://localhost:9443/ccm/process/project-areas/_W4g0kpR-EeO_UoHD7ytb-g/links"/> </oslc:ServiceProvider> </jp:link> <jp:link jp:projectArea="https://localhost:9443/qm/process/project-areas/_a3XPwJR-EeOvZ9weTJjFMw"> <jp:url> https://localhost:9443/qm/process/project-areas/_a3XPwJR-EeOvZ9weTJjFMw/links/_nNWVDZR-EeOvZ9weTJjFMw </jp:url> <jp:link-type>tracked-by</jp:link-type> <oslc:ServiceProvider> <dc:title>JKE Banking (Change Management)</dc:title> <oslc:details rdf:resource="https://localhost:9443/ccm/process/project-areas/_W4g0kpR-EeO_UoHD7ytb-g"/> <oslc:services rdf:resource="https://localhost:9443/ccm/oslc/contexts/_W4g0kpR-EeO_UoHD7ytb-g/workitems/services.xml"/> <jp:consumerRegistry rdf:resource="https://localhost:9443/ccm/process/project-areas/_W4g0kpR-EeO_UoHD7ytb-g/links"/> </oslc:ServiceProvider> </jp:link> <jp:link jp:projectArea="https://localhost:9443/qm/process/project-areas/_a3XPwJR-EeOvZ9weTJjFMw"> <jp:url> https://localhost:9443/qm/process/project-areas/_a3XPwJR-EeOvZ9weTJjFMw/links/_0rHfppiNEeOwXMW85UKpUw </jp:url> <jp:link-type>tests</jp:link-type> <oslc:ServiceProvider> <dc:title>Test Project (Development)</dc:title> <oslc:details rdf:resource="https://localhost:9443/ccm/process/project-areas/_5WGvdJiKEeOU-I4CLX9H5w"/> <oslc:services rdf:resource="https://localhost:9443/ccm/oslc/contexts/_5WGvdJiKEeOU-I4CLX9H5w/workitems/services.xml"/> <jp:consumerRegistry rdf:resource="https://localhost:9443/ccm/process/project-areas/_5WGvdJiKEeOU-I4CLX9H5w/links"/> </oslc:ServiceProvider> </jp:link> </jp:links>
Is it the same you want to point out ?
Thanks & Regards,
Rahul
Yes. Note, this is a provisional (not public) API.
Thanks Paul for providing these information !!