Skip to content

upload attachments

Oliver Gaida edited this page Sep 14, 2020 · 3 revisions

rusdc functions

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

upload changeorder-attachment

rusdc chg_add_attachment CO00001 ~/my_file.txt
rusdc chg_add_attachment CO00001 ~/my_picture.jpg

upload configurationitem-attachment

rusdc nr_add_attachment myciname ~/my_file.txt

upload incident-attachment

rusdc in_add_attachment I00001 ~/my_file.txt

upload problem-attachment

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

how to download

see the asciicast on asciinema

asciicast

Clone this wiki locally