jira copy-attachments
Copy attachments to another issue.
Description
Copy attachments to another issue.
Synopsis
jira copy-attachments
--site <site>
--source_issue <source_issue>
--destination_issue <destination_issue>
--attachment <attachment>
Arguments
site
- (string)
Example: --site "site-1"
Default: localhost:8081
Attributes: required
source_issue
- (string)
The ID of the issue containing attachment.
Example: --source_issue "source_issue-1"
Default: _None_
Attributes: required
destination_issue
- (string)
The ID of the issue containing attachment.
Example: --destination_issue "destination_issue-1"
Default: _None_
Attributes: required
attachment
- (string)
attachment Id
Example: --attachment "attachment-1"
Default: _None_
Attributes: required
Examples
jira copy-attachments --source_issue "source_issue-1" --destination_issue "destination_issue-1" --attachment "attachment-1"
Access Control
To use this command, you need access to the following:
Field | Value |
---|---|
Action | "update" |
Service Type | "jira" |
Service Instance | |
Namespace | |
Object Type | "issue" |
Object ID | destination_issue |
Please see Access Control for details.