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

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

0 votes



One answer

Permanent link
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.

0 votes

Comments

Hi, Thanks not stuck on needing to use Javascript but had used it for another condition I had check for when looking for specific values and then setting a field mandatory.

Your answer

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

Question asked: Jun 12 '12, 9:41 a.m.

Question was seen: 5,447 times

Last updated: Jun 12 '12, 11:23 a.m.

Confirmation Cancel Confirm