Hi,
Can you provide me a sample to show attachment upload to test steps results using json object and Java.
I have got the URL ready but how do you upload attachement?
latest/attachment?entityId=" + ts.getStepResultId() + "=&entityType=stepResult"
Is it entityId= step id or stepresult id?
Is it entityType = TestStepResult?
Please help!
Thanks,
Preetha
Hi Preetha
Thanks for your interest in Zephyr.
Please refer the knowledge base link below that descripes the attachment at test step execution level in Zephyr for Jira Cloud (ZAPI Cloud)
There is a sample Java code too attached at the end of the article
Below is for Zephyr for Jira Server (ZAPI Server)
https://support.getzephyr.com/hc/en-us/articles/202466019-Sample-Add-Attachment-to-Execution
Thanks
ZephyrSupport
Thank You. Will try the sample. So its not just entityid and entityname you pass with the URL as mentioned here?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Arun's reply is notmatching what is mentioned in Zephyr API document. Why is it different?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Arun Ravindran ,
U mentioned this link at above chat,
But this api for upload file on test execution attachment. I need to upload the test step attachment. Could you please share the test step attachment api. Please find the below screenshot which I highlighted my expected place where i need to update the attachment.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.