Skip to content

jira delete-attachment

Deletes attachment using attachmentId.

Description

Deletes attachment using attachmentId.

Synopsis

jira delete-attachment
    --site <site>
    <issue>
    --attachment <attachment>

Arguments

site - (string)

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

issue - (string)

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

attachment - (string)

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

Examples

jira delete-attachment "issue-1" --attachment "attachment-1"

Access Control

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

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

Please see Access Control for details.