APIs required for custom Java Script
3 answers
From the link https://jazz.net/wiki/bin/view/Main/AttributeValueProviders,
We have configurablebuilt-in provider for 'Role Based User Provider'. I believe that this means if a project is created in RTC 2.0.0.2 environment using Scrum Process template(as seen in the video attached on the link), the built-in provider should be visible like <valueSetProvider> and <attributeDefinition> for customization in Process Configuration Source. But I don't see them as built-in.Do we need to explicitly induce these tags for customization.Please reply.
We have configurable
From the link
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders,
We have configurable built-in provider
for 'Role Based User Provider'. I believe that this
means if a project is created in RTC 2.0.0.2 environment using Scrum
Process template(as seen in the video attached on the link), the
built-in provider should be visible like<valueSetProvider> and
attributeDefinition> for customization in Process Configuration
Source. But I don't see them as built-in.Do we need to explicitly
induce these tags for customization.Please reply.
Support for calculated attributes was introduced in 2.0.0.2 for early
adopters. The feature, especially when it comes to the JS API, is
*preliminary* and full support will only be available in 3.0.
That said, the complete example of a calculated attribute 'Risk
Exposure' is documented on the Wiki page in the example section. You can
copy it from there.
https://jazz.net/wiki/bin/view/Main/AttributeValueProviders#Examples
As it is an example only, it is not part of any process templates.
--
Regards,
Patrick
Jazz Work Item Team
This is regarding the Risk Exposure example given on https://jazz.net/wiki/bin/view/Main/AttributeValueProviders#Examples link. In Package Explorer, How do we define the structure of javascript class(ExposureProvider.js). Do we need to create java project and then create a javascript file in it to write the dojo scripts. What is the com.example.common package in ExposureProvider.js? Is it a package we need to create? Please help me understanding the creation of folders in package explorer for ExposureProvider.js.