Exporting attachments
[Deleted User]
Posts: 2
During our development we've attached multiple files to differing objects (Requirements, Test Cases, etc). Unfortunately, when trying to export these objects the attachments are not included.
Is there a way to export all Attachments in a project to a ZIP file? In this way, we can just have a common blurb, "for any attachments, refer to ZIP.file"? Looking around the Admin panel for a project, I can view all the attachments, I can view/download each individual attachment, but I don't see an option to EXPORT attachments?
I was looking at Velocity reports, however, that seems to only include information about the file (name, date, etc). Surely this isn't the first instance of JAMA and attachment management?
------------------------------
Chris Bomicino
Amazon
------------------------------
Is there a way to export all Attachments in a project to a ZIP file? In this way, we can just have a common blurb, "for any attachments, refer to ZIP.file"? Looking around the Admin panel for a project, I can view all the attachments, I can view/download each individual attachment, but I don't see an option to EXPORT attachments?
I was looking at Velocity reports, however, that seems to only include information about the file (name, date, etc). Surely this isn't the first instance of JAMA and attachment management?
------------------------------
Chris Bomicino
Amazon
------------------------------
0
Comments
-
Hi Chris,
you can use the REST API.- GET /abstractitems -> get the list of attachments for the desired project
- either GET /files or GET /attachments/{attachmentId} -> download the file
------------------------------
Alessandro
Systems Engineer
SICK AG
------------------------------
-------------------------------------------
Original Message:
Sent: 09-21-2022 10:11
From: Chris Bomicino
Subject: Exporting attachments
During our development we've attached multiple files to differing objects (Requirements, Test Cases, etc). Unfortunately, when trying to export these objects the attachments are not included.
Is there a way to export all Attachments in a project to a ZIP file? In this way, we can just have a common blurb, "for any attachments, refer to ZIP.file"? Looking around the Admin panel for a project, I can view all the attachments, I can view/download each individual attachment, but I don't see an option to EXPORT attachments?
I was looking at Velocity reports, however, that seems to only include information about the file (name, date, etc). Surely this isn't the first instance of JAMA and attachment management?
------------------------------
Chris Bomicino
Amazon
------------------------------
Alessandro
Systems Engineer
SICK AG0 -
Ah, thanks, will start digging in now.
------------------------------
Chris Bomicino
Amazon
------------------------------
-------------------------------------------
Original Message:
Sent: 09-21-2022 13:11
From: Alessandro Valli
Subject: Exporting attachments
Hi Chris,
you can use the REST API.- GET /abstractitems -> get the list of attachments for the desired project
- either GET /files or GET /attachments/{attachmentId} -> download the file
------------------------------
Alessandro
Systems Engineer
SICK AG
------------------------------
Original Message:
Sent: 09-21-2022 10:11
From: Chris Bomicino
Subject: Exporting attachments
During our development we've attached multiple files to differing objects (Requirements, Test Cases, etc). Unfortunately, when trying to export these objects the attachments are not included.
Is there a way to export all Attachments in a project to a ZIP file? In this way, we can just have a common blurb, "for any attachments, refer to ZIP.file"? Looking around the Admin panel for a project, I can view all the attachments, I can view/download each individual attachment, but I don't see an option to EXPORT attachments?
I was looking at Velocity reports, however, that seems to only include information about the file (name, date, etc). Surely this isn't the first instance of JAMA and attachment management?
------------------------------
Chris Bomicino
Amazon
------------------------------
0 -
Hello,
I would like to follow this up, as I am having similar struggles.
Does this work for multiple files, cause so far I can only input the ID of one attachment only.
Also, I do not manage to download the attachment, but an octet-stream item instead of e.g. a png.Would the same way be applied for reports as well? How could I download the file not via the JAMA API UI, but using my own rest calls?
Thanks, and best wishes.
Vasilis
0