uploadAttachment
Syntax | uploadAttachment(key, sourceFile) | Package |
|
Alias |
| Pkg Usage |
|
Description
Uploads an attachment to an issue
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
key | string | Yes | Issue key. |
sourceFile | string | Yes | Path to the file. |
Return Type
boolean
Returns "true" if the attachment was uploaded successfully and "false" otherwise. If returned "false" check the log for a detailed reason on why it failed.
Example
return uploadAttachment("TP-222","C:\Pictures\embarassing_photo_of_uncle_jim.jpg");See also
Need support? Create a request with our support team.
Copyright © 2005 - 2026 Appfire | All rights reserved.