Hi ,
I attached wrong documents in several issues in on demand JIRA, so need to develop a REST API for deleting the attachemts from on demand JIRA.
Please share the REST API format.
Thanks.
you have to use this following rest api
/rest/api/2/attachment/{id}(DELETE)
check this doc
https://developer.atlassian.com/static/rest/jira/5.1.6.html#id127779
check this post it is related to your requirement
https://answers.atlassian.com/questions/164776/is-there-a-way-to-remove-multiple-attachments-in-jira
It looks like you're new here. Sign in or register to get started.