evupload

Adds an attachment to an existing issue

SYNOPSIS

evupload [-s userID] [ID] [-a ALT_ID] filename description

DESCRIPTION

This command allows the user to add an attachment to an existing issue in the ExtraView database. The may be an alternative User ID.

The -s option allows the user to specify a different username to be used as the person who created the attachment. This is useful when automated scripts are used to attach files to issues.

You must either have the ID or the -a ALT_ID parameters to the command, but not both.

If you are migrating data from a remote system into ExtraView, a useful strategy to move attachments is to use the -a ALT_ID option to match attachments to issues migrated with the File Import Utility within ExtraView. In this circumstance, the internal unique identifier from the system from which you are migrating data is typically loaded into the ALT_ID field. The -a flag allows you to use the unique identifier from the legacy system without knowing the new ExtraView ID of the migrated issue.

EXAMPLE

This example uploads an attachment with a name of abc.xls into an existing issue with an ID of 12345.

$ evupload 12345 abc.xls "This is a spreadsheet"
Uploaded
$

This example uploads an attachment with a name of abc.xls into an existing issue with an ALT_ID of 65432.

$ evupload -a 65432 abc.xls "This is a spreadsheet"
Uploaded
$