Adding a timestamp field to work item
Hi all,
I'm trying to add a new timestamp/contributor field to a defect work item.
Currently the form has auto-generated opened on/by fields, as well as an auto-generated resolved on/by fields. The resolved on/by fields are automatically generated when the defect is moved to the 'Fixed' state.
What I want to do is create the equivalent values when the defect is moved to the 'Closed' state, but I'm not sure how to do that.
I'm currently working in RQM 2.0.1.1
Thanks in advance.
Steve
I'm trying to add a new timestamp/contributor field to a defect work item.
Currently the form has auto-generated opened on/by fields, as well as an auto-generated resolved on/by fields. The resolved on/by fields are automatically generated when the defect is moved to the 'Fixed' state.
What I want to do is create the equivalent values when the defect is moved to the 'Closed' state, but I'm not sure how to do that.
I'm currently working in RQM 2.0.1.1
Thanks in advance.
Steve
One answer
In RTC you would create the new field, and develop Value provider script, that would check the state, and if Resolved, return the current time 'value' to populate the field.
then in the setup of that field in the types and attributes process configuration, you would add the value provider script as part of the field configuration.
then in the setup of that field in the types and attributes process configuration, you would add the value provider script as part of the field configuration.
Comments
Pramod Chandoria
JAZZ DEVELOPER Jun 19 '12, 9:53 a.m.Steve, Please tag this question for RTC forum 'rational-team-concert'