It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA Cloud REST API Fields for Issue ADD attachments Edited

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.

2 answers

1 accepted

0 votes
Answer accepted

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.

Thanks. 

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. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

365 views 1 3
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you