Making Mandatory a comment when a resource changes due date or actual date for any task in RTC
When a resource changes with the Due date or Actual Date for any task how can we detect this in the process to then have a Condition possibly with a custom javascript to set a "true" flag that makes the entering of a comment Mandatory.
Would need to be able to detect only when it has change and not just the field is blank.
Enhancement 187581 is similar but is for detecting changes in Due Date for Birth reports.
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=187581
Would need to be able to detect only when it has change and not just the field is blank.
Enhancement 187581 is similar but is for detecting changes in Due Date for Birth reports.
https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=187581
One answer
Hi David,
I don't think this can be done with Javascript. But I am not sure.
I assume you could use a scripted calculated value provider to calculate based on the due date. Not sure about the modified date. I am not sure if you can set boolean attributes from there, I never tried. You could try to then use a scripted condition and hook that up to the dynamically required attributes operational behavior. Not sure if that supports comments.
The other option is to create a custom precondition or followup action. See https://jazz.net/library/article/634 to get started.
I don't think this can be done with Javascript. But I am not sure.
I assume you could use a scripted calculated value provider to calculate based on the due date. Not sure about the modified date. I am not sure if you can set boolean attributes from there, I never tried. You could try to then use a scripted condition and hook that up to the dynamically required attributes operational behavior. Not sure if that supports comments.
The other option is to create a custom precondition or followup action. See https://jazz.net/library/article/634 to get started.