How to push timespent or log time when using Xray JSON format to import execution results

Rushikesh Palkar
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!
September 2, 2024

I'm trying to log time in a test execution when using Xray JSON format to import execution result. But I get error in deserializing json when time parameter is added.
I have tried 'timeSpent', 'timeSpentSeconds', 'duration', 'time'.

This is example JSON 

{

    "tests": [
        {
            "testKey": "EXEC-161",
            "start": "2024-09-02T16:32:28.951923+05:30",
            "finish": "2024-09-02T16:33:15.058511+05:30",
            "status": "PASSED",
            "comment": "Execution pass",
            "evidences": [],
            "time":"200"

        }
    ]
}

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events