Hi,
I need to know if it is possible to attach a file in a Jira Issue with the action "REST Operation"??
I could do it executing a "run command line" actionwith a curl:
curl -D- -u user:password -X POST -H "X-Atlassian-Token: no-check" -F "file=@/path/file.txt" http://lhostname:port/JIRA/rest/api/2/issue/IssueKey/attachments
But I need to do with the action "REST Operation"
Best regards
Did you ever get an answer to this one?
Yes, it can be done, you'll need to look at the curl packet to see how the attachment is added in the JSON....that's what i generally do when trying to determine how to handle REST packets....
Hello,
I did not have an answer.
Maybe the idea is not to execute a curl, just an action to attach.
regards
Javi