It's all about the answers!

Ask a question

How to fetch CCM projects which are associated with the QM project via REST API?


Rahul Singh Bhadauriya (2821720) | asked Feb 18 '14, 6:31 a.m.
edited Feb 18 '14, 8:20 a.m.
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

Association

After execution of the Test case on the Test Case Result page select defect option and link the defect with the Test case.

defect association


 

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



permanent link
Paul Slauenwhite (8.4k12) | answered Feb 18 '14, 7:38 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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.

Comments
Rahul Singh Bhadauriya commented Feb 18 '14, 8:15 a.m. | edited Feb 18 '14, 8:29 a.m.

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


Paul Slauenwhite commented Feb 18 '14, 4:22 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

Yes.  Note, this is a provisional (not public) API.


Rahul Singh Bhadauriya commented Feb 19 '14, 2:30 a.m.

Thanks Paul for providing these information !!

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.