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

Script based default is not working

 i implementing a "Script based default" in the description field for a workitem. I updated the process template as below 
  <defaultValueProvider id="descriptionInstructions" name="Type Based Instructions" providerId="com.ibm.team.workitem.shared.common.internal.valueProviders.ScriptAttributeValueProvider">
           <script class="com.example.common.DefaultDescription" path="/workitem/scripts/common/DefaultDescription.js"/>
       </defaultValueProvider>

When i "Open Web Client .." the Process template , the script is working means ("Description field is updated with default text"). but when i create a new Project area (from intiaaliation template) and "Process share" the Process template ( selecting the option ("Use the process config .... ") in the new Project area; the script is not working ( means the description field is not getting updated with default text.)

a) am i missing any steps ?
b) Should i update the process intialization template ?

1

0 votes


Be the first one to answer this question!

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
× 6,132

Question asked: Aug 05 '12, 10:15 p.m.

Question was seen: 5,055 times

Last updated: Aug 05 '12, 10:15 p.m.

Confirmation Cancel Confirm