/
getAttachmentPath
getAttachmentPath
Description
Get the file path for the attachments with name <attachment name> attached to <issue key>.
Parameters
Return Type
String []
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.
Example
string [] filePaths = getAttachmentPath("PROJECT-15", "someFile.txt"); // returns all the file paths for the "someFile.txt" attachments
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.
See also
, multiple selections available,
Related content
getAttachmentPath
getAttachmentPath
More like this
getAttachment
getAttachment
More like this
getAttachmentIds
getAttachmentIds
More like this
getAttachmentMediaId
getAttachmentMediaId
More like this
getAttachmentVersionList
getAttachmentVersionList
More like this
uploadAttachment
uploadAttachment
More like this
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.