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
------------------------------

Comments

  • Alessandro Valli
    Alessandro Valli Member, Data Exchange, Jama Connect Interchange™ (JCI) Posts: 787
    edited September 2022
    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
    Best regards,

    ------------------------------
    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 AG
  • [Deleted User]
    [Deleted User] Posts: 2
    edited September 2022
    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
    Best regards,

    ------------------------------
    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
    ------------------------------