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

Adding a new custom attribute to a requirement via OSLC

 Dear all:


I have been tried to add a new attribute to a requirement that is gathered via the OSLC API in DNG. I have seen that some attributes are coming in the extended properties of a "Requirement" resource so I have tried to include a new property (URI and value) in this table of extended properties. The result is that I can update the resource (getting a 200 returning code) but the attribute and value are not finally stored. My question is:

-Is it possible to create attributes in DNG and retrieve/update them via OSLC? 

I have seen other threads in this topic but it is not completely clear how to proceed...I guess that it would be something like:

-Define the new property (domain and range)
-Add such definition to the resource shape
-Add the attribute/value according to the new shape


Thanks in advance!

Best regards,

0 votes

Comments

I am pretty sure you cant do that. You will have to add the new attribute in DoorsNext using the admin UI. then you can likely set it.


Accepted answer

Permanent link

 Dear Ralph:


Thanks! It worked perfectly! First, it is necessary to create a new attribute in the tab about "Management of project properties" and then, add the attribute to the resource shape of a resource (in this case to the Requirement Resource Shape). Once, these two steps are done, attributes definitions and values can be accessed (and updated):
  • Definitions that are available in the resource shape of the resource
  • Values that are available as extended properties within a resource
Best regards,

Ralph Schoon selected this answer as the correct answer

0 votes

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

Question asked: Oct 19 '17, 2:13 a.m.

Question was seen: 1,632 times

Last updated: Nov 01 '17, 7:25 a.m.

Confirmation Cancel Confirm