Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Cannot add attachment in a comment an issue via API version-3


Hi and thank you for taking the time to read my question!


V3 endpoint:


V3 request body:

"text":"Paragraph Text"


Making a POST request to the above endpoint results in this,

{"errorMessages":[],"errors":{"comment":"Comment body is not valid!"}}


3 answers

0 votes

Someone have find a good way to do it?



I am also facing the same problem. Is there a solution fr this?

In order to add the attachment in the comment, I need to supply the attachment's UUID in the mediaGroup, but that UUID is not available in any API output.

I tried with the attachment ID, but then I get an error saying that attachment validation failed.

Hi @mohanraj_kandhasamy did you try to use something simple on the beginning? I can see quite nice example in the docs:


To be honest, I think you can't post attachments as part of the comment. You need to post attachment to Jira first and create link to it in the comment...

Check if the endpoint is working with simple body and we can work on it after that...

Hello @Martin Bayer _MoroSystems_ s_r_o__ 
is it possible now to post a comment with attachment ?

Suggest an answer

Log in or Sign up to answer