...
Like, replace the Name
parameter to file
. Make sure the same issue is present in the Cloud Jira instance as well.
...
2. Download the attachments to the specific directory.--action runFromIssueList --jql "project = JD" --input "--action runFromAttachmentList --issue @issue@ --common "--action getAttachment --issue @issue@ --name @attachmentId@ --file @attachment@""
...