Skip to content

jira get-attachment

Gets attachment from attachmentId.

Description

Gets attachment from attachmentId.

Synopsis

jira get-attachment
    --site <site>
    --attachment <attachment>
    <issue>

Arguments

site - (string)

    
     Example: --site "site-1"
     Default: localhost:8081      Attributes: required

attachment - (string)

     attachment Id
     Example: --attachment "attachment-1"
     Default: _None_      Attributes: required

issue - (string)

     The ID of the issue.
     Example: "issue-1"
     Default: _None_      Attributes: required

Examples

jira get-attachment --attachment "attachment-1" "issue-1"

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "jira"
Service Instance
Namespace
Object Type "attachment"
Object ID attachment

Please see Access Control for details.