Xray- json return empty array - No jira creation

Antoine.Artaud September 14, 2022

Hello, 

I've create my client_id and secret on jira and can get a proper Bearer token to communicate to xray

I've got a return 200 code, but Nothing is created in Jira ; why ?

Can someone indicate me what I've missed out 

(was able to import robot test but not json,as  I would like to integrate Gatling result in Xray) 

POST https://xray.cloud.getxray.app/api/v2/import/execution/
{

    "testExecutionKey""DP-12284",

    "info" : {

        "summary" : "Execution of automated tests for release v1.3",

        "description" : "This execution is automatically created when importing execution results from an external source",

        "version" : "v1.3",

        "user" : "admin",

        "revision" : "1.0.42134",

        "startDate" : "2014-08-30T11:47:35+01:00",

        "finishDate" : "2014-08-30T11:53:00+01:00",

        "testPlanKey" : "DP-12272",

        "testEnvironments": ["iOS""Android"]

    },

    "tests" : [

        {

            "testKey" : "DP-12271",

            "start" : "2014-08-30T11:47:35+01:00",

            "finish" : "2014-08-30T11:50:56+01:00",

            "comment" : "Successful execution",

            "status" : "PASSED"

        }

     ]

}xray.png

 

 

doc read : https://docs.getxray.app/display/XRAYCLOUD/Import+Execution+Results+-+REST+v2#ImportExecutionResultsRESTv2-XrayJSONresults

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events