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

OSLC Requirment Creation with Custom Attribute and get All Attribute with GET method

Hello
I am creating requirement using Java Client.
1st Problem :
I need to no why I am getting the UUID of the custom attributes in the requirement specification ? I need to have the specification of the custom attribute same as in RTC
instead of "rm_property:_YJLgGuxREeGNj8wxLSUeZg"  i want something like rm_property:mycustomfield
so that I can write an automation that can run on all the Project areas as the UUID of the custom attribute is varies from Project Area to Project Area.
Is there any way to get name of the attribute instead of UUID.

2nd Problem :
Lets say 1st Problem is not got resolved so what I need to do is create an method that process each type and preserve the UUID of the custom attributes for creation of the requirement specification.

I thought to create a sample requirement  and provide default attribute then using GET method I may get all the attributes so that I can use those in future.

However while doing this I am getting only default attributes when I access the requirement using OSLC. this is all going crap for me.

I need to have an sample requirement created manually having all the fields and then I need to get the Type UUID and preserve those in some map for automatic creation of the requirement.

Please help..............
 

0 votes



One answer

Permanent link
I found that the Resource Shape URL response is having all the Custom attribute definition, so at startup I can get UUIDs for the custom attributes and can create requirement creation XML. 

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

Question asked: Sep 07 '12, 5:47 a.m.

Question was seen: 5,313 times

Last updated: Sep 07 '12, 7:54 a.m.

Confirmation Cancel Confirm