Hi,
I have a hard time find the list of the Fileds in JIRA Cloud REST API Fields for Issue ADD attachments. I did not find the Fileds in below URL.
https://developer.atlassian.com/cloud/jira/platform/rest/v3/?utm_source=%2Fcloud%2Fjira%2Fplatform%2Frest%2F&utm_medium=302#api-rest-api-3-issue-issueIdOrKey-attachments-post
It will be very helpful if anyone shares me the List of the fields.
Thanks.
curl -D- -u admin:admin -X POST -H "X-Atlassian-Token: no-check" -F "file=@myfile.txt" https://your-domain.atlassian.net/rest/api/3/issue/TEST-123/attachments
with curl myfile.txt will be your file.
Hi @jira guy
Thank you so much for your quick reply.
Hi, i want to use webhooks to notify teamcity when a issue change of status. It is possible ?
I have a curl POST command to run a build configuration in teamcity.
@jira guy
where should be the original attachment (e.g @myfile.txt) needs to be uploaded for the API to work for jira cloud?
It looks like you're new here. Sign in or register to get started.