...
Examples
Example 1
Code Block | ||
---|---|---|
| ||
copyAttachment("TEST-1", "attachmentToCopy.txt", "TEST-2"); |
...
Copy all the attachments from one issue to another.
Code Block | ||
---|---|---|
| ||
string issueKey = "TEST-1"; for(string s in issueKey.attachments) { copyAttachment(issueKey, s, "TEST-2"); } |
...