...
jql
(string) - (Required): The JQL query to find target issues.JQL has a limit of 10 issues per automation action!
sourceKey
(string) - (Required): The key of the source issue.commentId
(string) - (Optional): The ID of the comment (if applicable).
Example (Jira automation)
Web request URL
https://attachments-transfer-api.twinit.app/gateway/transferAttachments?id=aef469b5-34e5-4e16-942f-d3916d33b6b5
HTTP method
POST
Web request body
Custom data
...
Key | Value |
---|---|
Accept | Application/JSON |
Authorization | 46f61f78-e138-4019-85a0-e239878f2c94 |
...
Example (general)
POST Request header
Code Block |
---|
curl -H 'Authorization: 46f61f78-e138-4019-85a0-e239878f2c94' |
POST Request Body
Code Block |
---|
{ "jql": "issuekey = ITSM-1", "sourceKey": "ITSM-15", "commentId": "12345" } |
curl example
Code Block |
---|
curl --request POST \ --url 'https://attachments-transfer-api.twinit.app/gateway/transferAttachments?id=aef469b5-34e5-4e16-942f-d3916d33b6b5 ' --header 'Accept: application/json' \ --header 'Authorization: 46f61f78-e138-4019-85a0-e239878f2c94' --data ' { "jql": "issuekey = ITSM-1", "sourceKey": "ITSM-15", "commentId": "12345" }' |
...