/
attachFileFromURL
attachFileFromURL
Description
Adds an attachment located on an URL path to a selected issue.
Parameters
Return Type
Boolean (true/false)
The return value represents the success of the attachment process. If the function returns "true" the file was attached successfully.
Example
string url_to_file;
string issueKey;
url_to_file = "http://otherServer/generateForm.aspx?PackageName=customField_10192";
issueKey = "PRJ-239";
attachFileFromURL(url_to_file, issueKey);
Result: Returns True if the file is at the selected location and the issue exists, meaning the file was attached. Returns False if any of the conditions stated before are not met.
If an error occurs, the function will return "false" and the error message will be visible in the log.
See also
Peacock
, multiple selections available,
Related content
attachFileFromURL
attachFileFromURL
More like this
attachFileFromURL
attachFileFromURL
More like this
attachFile
attachFile
More like this
attachFile
attachFile
More like this
attachFileFromEmail
attachFileFromEmail
More like this
attachAllFilesFromEmail
attachAllFilesFromEmail
More like this
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.