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

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

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

1 vote



One answer

Permanent link
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.

0 votes

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 !!

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
× 10,936
× 7,494
× 1,700
× 29

Question asked: Feb 18 '14, 6:31 a.m.

Question was seen: 6,048 times

Last updated: Feb 19 '14, 2:30 a.m.

Confirmation Cancel Confirm