How to do attribute customization using plugin?
Hello Team,
I am trying to develop a code for attribute customization using plugin. So for that I followed a below article
I am able to do all the steps and also it shows in provider for calculated value at below path
In eclipse -> process configuration -> project configuration -> configuration data -> work items -> attribute customization -> calculated values
In order to use the newly created provider of calculated value, we go to
Project Configuration > Configuration Data > Work Items > Types and Attributes
But it does not show newly created provider value in calculated value.
If I normally add script for calculated values through rtc then it shows in Process configuration source file like
|
<valueProvider id="com.ibm.team.workitem.valueproviders.VALUE_PROVIDER._c_WrkPgkEeahaYViSqPJvw" name="TestButton" providerId="com.ibm.team.workitem.shared.common.internal.valueProviders.ScriptAttributeValueProvider">
<script class="com.example.ValueProvider" path="/workitem/scripts/common/testbutton.js"/>
|
but when i add above newly created provider in calculated values provider then it shows in Process configuration source file like
|
<valueProvider id="com.ibm.team.workitem.valueproviders.VALUE_PROVIDER._prxPsArvEeePNOSRKolkGw" name="test String List" providerId="com.ibm.js.team.workitem.attribute.customization.providers.SampleStringListCalculatedProvider"> </valueProvider> |
So do I need to make changes in Process configuration source file.
I also followed a below article also but i did not get any luck on that
Please Help
How can I map this script to particular attribute?
One answer
A Java attribute customization works like any other attribute customization and you only have to add configuration data if the attribute customization provider needs it.