|
Business Logic Function
|
Description
|
|
Change Records are unique for each Internal Release value
|
You may create only a single Change Record for each Internal Release value. Planned
For is not required on a Change Record.
|
|
All child Defects must be resolved before the parent Defect can be fixed
|
All child Defects must be either Verify or Closed state before the parent can be moved to Fixed state.
|
|
All Change Records must be closed before the parent Defect may be closed
|
All child Change Record Work Items must be closed before their parent Defect can be closed.
|
|
All Change Records must be in NoChange, Canceled, Verify, or Closed state when fixing a Defect
|
All Change Records must be NoChange, Canceled, Verify, or Closed state when fixing a Defect.
|
|
All Change Records must be in NoChange, Canceled, or Closed state when closing a Defect
|
All Change Records must be in NoChange, Canceled, or Closed state when closing a Defect.
|
|
Ensure all Change Records are Closed, NoChange or Canceled when these actions are run on the parent
Defect: MoreInfo, Reject, Reopen
|
If the parent Defect is not Closed, and these actions are performed (MoreInfo, Reject, or Reopen),
ensure that all child Change Records are either Closed, NoChange, or Canceled.
|
|
Automatically set Defect and Change Record owners, if possible
|
If a Defect or Change Record is submitted with the owner left unassigned, use these steps to try to
assign the owners: 1) Use the category owner as defined in the project’s metadata; 2) Set the Change
Record owner to the parent Defect owner; 3) If the parent Defect owner is unassigned, set the Change
Record owner to the category owner for the Change Record; 4) If the Change Record owner is still
unassigned, set the Change Record owner to the category owner as specified in the metadata.
|
|
Validate built-in attachments are less than 5MB
|
Ensure all attachments are less than 5MB in size.
|
|
Prevent user from removing others’ subscriptions
|
Any user can add other users to Work Item subscription lists, but can only remove themselves.
|
|
Once a Change Record is linked to a Defect, the link cannot be removed
|
Change records cannot be moved between Defects. Deleting the link from the Defect or the Change Record
is prevented.
|
|
Defect must be in working state to link with Change Records
|
Change Records can be linked to Defects only if the Defect is in Working status.
|
|
There may only be one Change Record for any release for the parent Defect, and the release cannot be
changed
|
A Change Record’s Internal Release value cannot be set to a value which is already
used by another Change Record for that parent Defect. Once the Change Record is submitted, its
Internal Release value may not be changed.
|
|
Defect RejectFix action is not allowed if Change Record is in Verify or Closed status
|
The RejectFix action on a Defect (Verify -> Working) is not allowed when associated Change Records
are in either Verify or Closed states. (The precondition which requires the Change Record to be
resolved before Defect must also be enabled.)
|
|
Defects with active Change Records cannot be moved to other projects
|
Defects cannot be moved to other projects in the repository if the Defect has associated Change Records
in either Open, Working, or Verify states.
|
|
Make Discussion field required
|
Text must be added to the Defect’s Discussion field when the following actions are done: Reject,
MoreInfo, Reopen (from Rejected and MoreInfo), Closed.
|
|
Setting Blocking checkbox requires comment
|
If the Blocking checkbox is set, a comment describing the blocking condition must be
added. Use of this checkbox has no affect on the workflow of the Work Item.
|
|
Move Change Record state to Working when a change set is associated with it.
|
When a change set is associated with a Change Record, the state of the Change Record automatically
moves to Working.
|
|
Ensure all change sets associated with a Change Record are complete before the Change Record can move
to CodeComplete, Verify, Closed, Canceled or NoChange state
|
All change sets associated with a given Change Record must be completed before the Change Record can
move to CodeComplete, Verify, Closed, Canceled or NoChange state. Change sets complete automatically
when delivered to a stream.
|
|
Change sets may be associated with Remote Change Requests
|
A change set may be associated with a Remote Change Request in order to deliver changes.
|
|
Change sets must be associated with a work item
|
A change set must be associated with a work item before delivering that change set. In RTC 3 that work
item could be any type except STG Defect. In RTC 4, the change set can be associated with any type of
work item, if the STG Defect / automatic Change Record functionality is enabled.
|
|
Prevent parent defect category change with active children
|
If an STG Defect with child Change Records has the defect's category changed, both the STG Defect and
Change Record's category are changed, but only if all Change Records are not active (Canceled, Closed,
NoChange).
|