Create
cancel
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

How can I get the attachments for a Step result added during execution? Edited

I am trying to get the 'attachment' that can be added to a step result during execution, not the 'Step Attachement' that can be added to the base test case.  I can find the 'Step Attachment', using zapi (rest/zapi/latest/stepResult?executionId=), in the 'attachmentMap' shown below but I don't know where the ones that are added during execution are found.  Can someone help me out?

"attachmentsMap": [
{
"fileName": "OPQTC_7.1.PNG",
"dateCreated": "3 days ago 10:31 AM",
"fileSize": "58605",
"fileIcon": "image.gif",
"author": "<user>",
"fileIconAltText": "PNG File",
"comment": "",
"fileId": "106"
}

1 answer

I'm trying to figure this out as well. The attachment map I'm getting back is empty and using attachmentsByEntity comes back empty as well.

Suggest an answer

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

🤺 Atlympic Event: Partnerships

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

149 views 2 6
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