Attach a file to a defect

Learn how to create attachments in your change requests.

When you submit or work on a change request, you might find it useful to attach one or more files to the change request so that team members can easily see them. For example, a developer might attach a source code file to a change request to help identify the cause of a defect.

This exercise shows you how to attach a file to the change request that you submitted in the Submit a defect exercise. If you have not completed that exercise, complete it before proceeding with this exercise.

To attach a file to the change request that you previously submitted:
  1. Create a file named cq_tut_sample.txt and save it to a directory on your computer.
  2. In Rational ClearQuest, click Edit > Find Record > admin,7.0.0@SAMPL.
  3. In the Find Record window enter the record ID of the change request that you previously submitted, and click OK. The record form opens in the View Defect window.
  4. Click the Attachments tab.
  5. Click Add.
  6. In the Open window navigate to cq_tut_sample.txt, select it, and click Save.
  7. In the Attachment comment window enter the following comment: Sample attachment file for use in CQ tutorial.
  8. Click OK.