How do you stop empty comments from being created in RTC 4.0.0.1
2 answers
Hi Jeanie,
I hope I understand your question correctly. Do you mean when creating a change set from Source Control of web client, both a comment and a work item association are required?
For that case, you can add the precondition "Require Work Items and Comments" for the operation "Deliver (server)" in the operation behavior. This setting takes effect for delivering using SCM command line and web client.
I hope I understand your question correctly. Do you mean when creating a change set from Source Control of web client, both a comment and a work item association are required?
For that case, you can add the precondition "Require Work Items and Comments" for the operation "Deliver (server)" in the operation behavior. This setting takes effect for delivering using SCM command line and web client.
Comments
Tha is what i did to require the comments and work items. The issue is that it throws the error that comments and work items are required, then it creates the changeset with no comment.
I haven't seen this before and cannot reproduce. It shouldn't happen so you might want to open a bug about it and provide the steps to reproduce.
Not sure if this is the same thing, but we have something similar. This occurs when users first do a check-in without delivering. The system does not prompt or force you to enter a comment or associate a work item. If the user later does a Deliver, the system does not prompt for a comment or work item, it just throws the error that a comment and work item are required. To get around this, we tell everyone to use the Check-in/Deliver option. When you do them together, the system prompts the user for a comment and a work item, therefore, no error is encountered. Hope that helps.