URL for Item attachments?
Hi,
I have a series of scripts which interact with Integrity using the CLI via. Python subprocessing.
I can easily extract information relating to a particular item with
im viewissue
and then use Python to parse the output and extract the information I want.
What I would like to do is generate a list of URLs for the attachments associated with each item.
I am aware of
im extractattachments
but this actually downloads the files from the server. The issue with extractattachements, is that I plan to process many items, each with multiple attachments. Of these, the user may be interested in only a handful, so downloading them all would be wasteful. I would like to present the user with the links, which they can click to download the files if they choose.
Is this approach possible? A compromise would be a link which opened up the item in the Integrity GUI (or web client) on the attachments tab?
Thanks in advance
Will

