My curl command is below. From the Atlassian documentation it appears to be correct.
curl -D- --url "https://{my server}/jira/rest/api/2/issue/AID-4314/attachments" --insecure --output "c:\windows\temp\aidjira_add_html_content_keadam.reply1" -H "X-Atlassian-Token: nocheck" -u {my id}:{my password} -X POST -F "FILE=@c:\windows\temp\current_email_body_html1.html"
In the console window I get at the beginning:
HTTP/1.1 100 Continue
HTTP/1.1 200
But all that's in the response is "[]" - and the html file does not get attached. I've tried searching the forums but just find verification that my curl is correct. If anybody can help me, I'd be most obliged.
Keith Adams
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.