...
Web request URL
Fill with the generated URL endpoint, e.g.:
https://attachments-transfer-api.twinit.app/gateway/transferAttachments?id=aef469b5-34e5-4e16-942f-d3916d33b6b5
HTTP method
POST
Web request body
Custom data
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).If the commentId is included, only the attachments related to the specific comment will be sent. If the commentId is absent, all the issue attachments will be transferred.
You can use the {{issue.comment.id}} smart value for the “Issue commented” trigger. If you need to send the attachment attached to the specific comment with other triggers, use the specific value of the commentId instead of the smart value.
Code Block |
---|
{ "jql": "issuekey = ITSM-1", "sourceKey": "{{issue.key}}", "commentId": "{{issue.comment.id}}" } |
...