How to find a custom attribute under a project using RM API
Hi , Is there a RM javascript API way to find if a custom attribute data type is available in a DNG project area.. thank you |
Accepted answer
Benjamin Silverman (4.1k●6●10)
| answered Apr 11 '17, 6:46 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Hi Ankita,
Ankita M Udyavar selected this answer as the correct answer
Comments
Ankita M Udyavar
commented Apr 12 '17, 2:23 a.m.
Thank you. Using RM API I have known how to fetch . Just wanted to know if it was possible without selecting an artifact to check if an attribute to be updated is available before updation code runs.
Benjamin Silverman
commented Apr 12 '17, 8:56 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Not with any public API. You could get the type system for the project as shown below and check for the attribute. Just note this is not a public API and could change/require additional parameters at some point.
|
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.