This routine is available starting with SIL Engine™ 2.5.13 / 2.6.5.
getAttachmentPath(issue key, attachment name)
DescriptionGet the file path for the attachments with name <attachment name> attached to <issue key>.
|attachment name||string||Yes||Attachment name.|
The file paths.
Note that the return type is string, not string. You will get an array of file paths when you have multiple attachments with the same file name.
- If there is no issue with that issue key, an exception will be raised.
- The paths returned are ordered by date, starting with most recent attachment added.