Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I programmatically access comment attachments in a script?

Sucheta Karandikar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 7, 2018

From scriptrunner, I need to be able to access the attachments that are added to a comment for an issue to send to a REST interface.

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Champion
August 5, 2022

Hi @Sucheta Karandikar ,

you can use AttachmentManager API from a script (https://docs.atlassian.com/software/jira/docs/api/7.6.1/com/atlassian/jira/issue/AttachmentManager.html)

Hope this helps,

Fabio

Suggest an answer

Log in or Sign up to answer