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

Require to apply the custom advisor only on the change to the particular field

 Hi 

I have written a custom advisor that will set the date based on the state change,

For example, In a defect, when the status is 'In Progress' and when an enumeration value is Coding, my script should set the new value to the date field that i have in the workitem

When the date field is null, then it means that it is the first time the field should be updated and i pass the value of date to it. When the date field is already populated, I'm passing the date value to update it. The problem that i find here is that, whenever something else changes in the workitem, it satisfies the condition of the state value matching and the enumeration matching and updates the date. But i want the date to be updated only when there is a change to the enumeration value.

Can you help me on how to identify the change to the specific enumeration value to use the javascript script to apply the calculated value ?


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
× 383

Question asked: Aug 07 '12, 5:16 a.m.

Question was seen: 3,005 times

Last updated: Aug 07 '12, 5:16 a.m.

Confirmation Cancel Confirm