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.............. |
One answer
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.
|
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.