Forums

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

Not able to create comment with attachment id(got it from upload attachment response).

jay
Contributor
September 2, 2024

 

 

When I create a comment using the REST API, I must include attachment information. So I included the attachment id (10050), which I obtained from the upload attachment response. But when I enter this value, Jira reports a "attachment validation error".


Then I created a comment on Jira and used the REST API to retrieve all of the comment details, returning a lengthy result as attachment id. That's ""16ffe152-698f-5ed8-aa8a-f04b90f0c748." Next, I created a comment using this attachment id, which succeeded. However, I'm not sure what this attachment id is or how to retrieve it.

0 answers

Suggest an answer

Log in or Sign up to answer