How to get RM project areas list on CCM work item attribute on a load of the work item.
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,
Farheen
|
One answer
Call REST API inside EWM's dojo script.
It might slow down loading of the Work Item.
Comments
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. Please look at https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding 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.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I noticed, we do not have a link to the OSLC RM on the landing page. Here is a link: https://docs.oasis-open-projects.org/oslc-op/rm/v2.1/requirements-management-spec.html |
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.