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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

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

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

1 answer

1 accepted

1 vote
Answer accepted
Peter DeWitt Community Leader Sep 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

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

Suggest an answer

Log in or Sign up to answer
TAGS

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