set a date when an enumeration value is selected
In RTC v4.0.6, there is a work item having two fields:
a field called 'Priority reviewed' and this is a yes/no enumeration and the default value is 'no'
the other field is 'Priority reviewed date' and it's a time stamp
I want the 'Priority reviewed date' to be set automatically when the 'Priority reviewed' field is changed from 'no' to 'yes'
so how can I do this please? I tried to do this through 'attributes customization' configuration tab into RTC eclipse client but I couldn't.
Thanks in advance
a field called 'Priority reviewed' and this is a yes/no enumeration and the default value is 'no'
the other field is 'Priority reviewed date' and it's a time stamp
I want the 'Priority reviewed date' to be set automatically when the 'Priority reviewed' field is changed from 'no' to 'yes'
so how can I do this please? I tried to do this through 'attributes customization' configuration tab into RTC eclipse client but I couldn't.
Thanks in advance
One answer
You may want to refer to the similar discussion here(although the enumeration is different, the approach should be the same) for some sample scripts so that you can use in your scenario:
https://jazz.net/forum/questions/162999/assigning-current-time-stamp-when-defect-is-resolved
https://jazz.net/forum/questions/77931/attribute-configuration-calculated-timestamp-being-set-unexpectantly
https://jazz.net/forum/questions/162999/assigning-current-time-stamp-when-defect-is-resolved
https://jazz.net/forum/questions/77931/attribute-configuration-calculated-timestamp-being-set-unexpectantly