DownloadAttachment
Download attachment by specifying its Id.
Input
Name | Type | Required | Accepts Output Streams | Description |
AttachmentId | String | True | False | The ID of the attachment to download. |
FileLocation | String | False | False | The location of where to save the file. |
FileName | String | False | False | The name of the file. If not specified the name will be the same as it is in JIRA user interface. |
Overwrite | String | False | False | If true, the procedure will override files if they exists. Default value is false. |
FileStream | String | False | True | An instance of an output stream where file data is written to. Only used if FileLocation is not set. |
Result Set Columns
Name | Type | Description |
Success | String | This value shows whether the operation was successful or not. |
FileData | String | File data that will be outputted encoded in Base64 if the FileLocation and FileStream inputs are not set. |