Use this method to attach a file to the item that is stored in an issue-tracking system and to that the IssueTrackingItem object provides access. The file contents will be copied into the issue-tracking database.
|IssueTrackingItemObj||An expression, variable or parameter that specifies a reference to an IssueTrackingItem object|
The method is applied to the following object:
The method has the following parameter:
Specifies the path and name of the file to be attached to the item.
To view an example that demonstrates how to use the
AttachFile method, see the Using Templates From Scripts section of the Using Issue-Tracking Templates From Tests help topic.