Forums

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

Is it possible to add attachment to comments via rest api?

Greivin Britton September 21, 2017

I need to add attachments to the comments to a jira issue using the api and can't find any documentation about it.

Would like to know if it's possible. Thank you

2 answers

1 accepted

1 vote
Answer accepted
Peter DeWitt
Community Champion
September 21, 2017

Greivin, Your attachment is going to stored within the issue and not the comment.  This might help with adding an attachment:

https://confluence.atlassian.com/jirakb/how-to-attach-an-attachment-in-a-jira-issue-using-rest-api-699957734.html

The nice little link in the comment to the attachment can be added using this format [^Attachment Name.ext]

Hope this helps. 

-peter

Greivin Britton September 22, 2017

Hi Peter,

That would works, what we need is to keep the the context of which attachments were provided within the comment

Thank you for your help.

Greivin

0 votes
Melissa Nielsen January 4, 2024

Did this work for anyone else? I can't get a link to the comment to appear. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events