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

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

Update evidences and attachments of test issue type

I am using the API provided here ( to update my test steps. 

Here when I want to update the step level attachments I passing the JSON value like below 

"attachments":[  {            

"data": "gsddfgdsfg...(base64) ",            

"filename": "example2.txt",            

"contentType": "plain/text"       


But it showing me error


{    "errorMessages": [],    "errors": {        "Manual Test Steps""Unrecognized field \"data\" (Class com.xpandit.raven.beans.AttachmentBean), not marked as ignorable\n at [Source: N/A; line: -1, column: -1] (through reference chain: com.xpandit.raven.customfield.ManualTestStepsCustomField$TestStepSingleTransport[\"steps\"]->com.xpandit.raven.beans.InternalTestStepValueBean[\"attachments\"]->com.xpandit.raven.beans.AttachmentBean[\"data\"])"    }}


Can you help me how to update step level atttachments to  a TEST issuetype

1 answer

Hi @Johnson Anthony ,

  • to create Test issues you'll have to use Jira's REST API for creating isues as mentioned here . I've clarified the documentation as currently it's not possible to add attachments while creating Test issues; it has to be done afterwards
  • to *update* Test issues, namely the steps, I would recommend to use Xray specific endpoints  namely the  HTTP PUT /rest/raven/1.0/api/test/{testKey}/step as describe in


Just to let you know that we've created this open-source project that contains usage examples of the API available for Postman:

This can be a good way to to see concrete examples of API calls.




Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

471 views 5 18
Read article

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