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

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

0 votes


Accepted answer

Permanent link

Hi Ankita,

There is a Javascript API available which allows you to fetch attributes from an artifact.  I don't believe there is support for checking the entire project without first referencing an artifact to fetch attributes from.

Ankita M Udyavar selected this answer as the correct answer

0 votes

Comments

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.

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. 

https://clmserver/rm/types?resourceContext=https://clmserver/rm/process/project-areas/<project area UUID>&vvc.configuration=https://clmserver/rm/cm/stream/<stream UUID>&accept=*&private=true

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,938

Question asked: Apr 11 '17, 10:26 a.m.

Question was seen: 1,576 times

Last updated: Apr 12 '17, 8:56 a.m.

Confirmation Cancel Confirm