Can we use Non-Attribute based presentation values in Scripts.
Hello All,
I am using RTC version 6.0.5, I want to calculate a value based on the Planned Start Date/End Date and Actual Start Date/End Date in a work item. I am able to retrieve the values of Actual Start Date/End Date as they are custom attributes created by me. I am unable to find how can we get the values of the Non-Attribute Based Presentation (Planned Time) for Planned Start/End Dates using Script.
Is there any way this can be achieved.
Thanks in advance.
One answer
Summary: I don't think so.
As far as I can tell
- https://jazz.net/wiki/bin/view/Main/AttributeCustomization#Accessing_built_in_attributes_of provides a list of ID's for the Built in attributes that can be accessed.
- In general you can access any attribute that has an attribute ID, but not all attribute types are supported. Eumerations, basic types such as strings or numbers are supported. https://jazz.net/wiki/bin/view/Main/AttributeCustomization explains what and how. Complex types provide an ID (UUID) and a dispaly value, that is it
- If you don't have an ID for the attribute or pseudo attribute, you can't access it.
The plan data you refer to does not even live as data in the work item. It lives in the planning component. So I doubt you get access to it.