-
Notifications
You must be signed in to change notification settings - Fork 1
upload attachments
Oliver Gaida edited this page Sep 14, 2020
·
3 revisions
There are three rusdc functions for uploading attachments:
$ rusdc | grep add_attachment
rusdc chg_add_attachment <co> <file> # attach the file to co
rusdc in_add_attachment <in> <file> # attach the file to incident
rusdc nr_add_attachment <nr> <file> # attach the file to nr
rusdc chg_add_attachment CO00001 ~/my_file.txt
rusdc chg_add_attachment CO00001 ~/my_picture.jpg
rusdc nr_add_attachment myciname ~/my_file.txt
rusdc in_add_attachment I00001 ~/my_file.txt
incidents and problems are using the cr-object internaly, so use the in_add_attachment function for that too:
rusdc in_add_attachment P00001 ~/my_file.txt
see the asciicast on asciinema