It's all about the answers!

Ask a question

How to get RM project areas list on CCM work item attribute on a load of the work item.

Farheen Taj (11) | asked Jul 13 '23, 10:03 a.m.

Hello All,

We are trying to fetch and display list RM project area names from all the RM contexts to which user is having access to. This will be populated on the list where user can select from on a custom attribute of a work Item in CCM. This is to be displayed on load of the work item. We know the OSLC APIs to fetch the Project areas which we could have used in a server side plugin (java side). But now we got to know that on load of the work Item (un saved) the plugin does not get called and we can populate there only using dojo scripts.

Can you please help us here on fetching and populating the RM projects list on the unsaved work item.

Thanks and Regards,

One answer

permanent link
Chidambaram L (23414287) | answered Jul 13 '23, 10:33 a.m.

Call REST API inside EWM's dojo script.

It might slow down loading of the Work Item.

Farheen Taj commented Jul 14 '23, 12:16 a.m.

Thanks for your quick response Chidambaram L. Can you please provide example if there is any. 

David Honey commented Jul 14 '23, 9:27 a.m.

Please look at from where you can find information about ELM public REST APIs including the one you are asking about. You can use browser plugins like Postman and RESTed to explore and try these REST APIs.

Ralph Schoon commented Jul 14 '23, 10:53 a.m.

I noticed, we do not have a link to the OSLC RM on the landing page. Here is a link: 

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.