Creating a fix task

A fix task is a regular task with a special relationship to the completed or excluded (broken) task that it fixes. A broken task occurs for two reasons: A completed task did not entirely fix a change request; a completed task created a bug that needs to be fixed. In both situations, your scenario is probably close to the following: You had a task to complete. You set the current task, checked out all objects necessary to complete the task, and worked on the task. You then completed the current task and all associated objects. Later, you found a problem with the task you had completed.

About this task

To fix a broken task, first ascertain the best way to fix the existing task.

Next, create a task to fix the existing task (using the Create Fix Task dialog box). A relationship between the fix task and the bad task is created automatically.

When you create a task, it is automatically assigned to you and set as your current task.

A fix task is a regular task with a special relationship to the completed or excluded (broken) task that it fixes. Sometimes these tasks must be dependent on each other; sometimes they must not be used together, as explained in following.

If you have good changes in the bad task that must be included in the build, then you must include the excluded (broken) task back into the appropriate project grouping. This means that the bad task and the task that fixes it both are in the build. After you have created the fix task and the relationship between the two tasks and completed the fix task, remove the exclusion on the bad task.

If the excluded task contains changes that are moving the product in the wrong direction, and the fix task contains changes that correct this problem, do not include the excluded task again.

Next, finish the work that fixes the bad task.

Last, finish the fix task and all associated objects.

If you created a fix task by using the Create Task dialog box, create the relationship between the fix task and the bad task.

Procedure

  1. Right-click over the completed or excluded task you want to fix, and click Create Fix Task.
  2. In the Create Fix Task dialog box, enter a description for the task.
  3. Set the release for the task in the Release list.
  4. If you are not the resolver, set the task resolver in the Resolver list.
  5. Enter other properties, as required.
  6. Associate a change request to the current task by entering the change request ID or click Query icon.

    The Select Change Request dialog box is displayed. Choose the appropriate change request and click OK. The change request ID displays in the Change Request field.

  7. Change the Exclude Task task check box, if necessary.

    A developer or team lead might set this option to prevent other team members from getting a bad task. For example, an integration build fails. The team lead finds the bad task, assigns a fix task to a developer, then excludes the bad task. The team lead then performs an update to remove the bad task objects from the projects, and performs the build again.

    Set this option if you do not want the task to be associated with any other project grouping whenever an Update or Refresh Baseline & Tasks operation is performed.

  8. Click OK.

Feedback