JDBC Driver for Jira

Build 25.0.9434

UploadAttachment

Uploads an attachment file to a specific Jira issue, making it visible to users with access to the issue.

Input

Name Type Required Accepts Input Streams Description
IssueId String False False The unique ID of the Jira issue to which the file should be attached. Required if IssueKey is not provided.
IssueKey String False False The key of the Jira issue (such as 'PROJ-123') to which the file should be attached. Required if IssueId is not provided.
FileLocation String False False The full path and file name (including extension) of the file to be uploaded. Used when uploading from a file system.
Content String False True An InputStream containing the file's content. This is used as an alternative to FileLocation when uploading the file programmatically.
FileName String False False The name to assign to the uploaded file. If not provided, Jira will use the file name as displayed in the user interface.

Result Set Columns

Name Type Description
Success String If the value is 'true', the file was uploaded successfully. If the value is 'false', the upload operation failed.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434