Forums

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

Can we change test case workflow status from Todo to Done and execution Results with json format

Venkat
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 28, 2023

Can we change test case workflow status from Todo to Done and execution Results with json format to import execution results?

I Can able to import execution results but not able to change workflow status from todo to Done in the same JSON format, How to do both at same time with json file import?

1 answer

0 votes
Sayed Bares [ServiceRocket]
Community Champion
July 30, 2023

@Venkat welcome to the community!

Can you elaborate further on your use case? what do you mean by execution results? specifically execution results of what? where do you want to import them? and JSON format of what?

Venkat
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 31, 2023
Hi Sayed,
 
Referring to the link below, I can able to update test case execution results like status, comment and evidence, But I wanted to include worklog transition from Todo->Done as well in the same json format, How can we do that.
 
 
json format
 
{
    "tests": [
        {
            "testKey""DEMO-25",
            "start" : "2021-08-30T11:47:35+01:00",
            "finish" : "2021-08-30T11:50:56+01:00",
            "comment" : "Successful execution",
            "status" : "PASS",
            "evidence" : [
                {
                    "data": "iVBORw0KGgoAAAANSUhEUgAABkIAAAO9CAYAAADezXv6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEn(...base64 file enconding)",
                    "filename": "image21.jpg",
                    "contentType": "image/jpeg"
                }
            ]
}
]
}

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events