get
http://jira.eswin.com/rest/tests/1.0/testrun/SOC-C10?fields=id,key,name,projectId,projectVersionId,environmentId,plannedStartDate,plannedEndDate,iteration(name),executionTime,estimatedTime {"executionTime":0,"estimatedTime":7200000,"plannedStartDate":"2020-12-28T09:20:04.000Z","name":"rest-api-post-2020_1228_1720","projectVersionId":"10805","iteration":{"name":"RTL_0.1"},"id":
35,"projectId":
10302,"plannedEndDate":"2020-12-28T09:20:04.000Z","key":"SOC-C10"}
get
http://jira.eswin.com/rest/tests/1.0/project/10302/environments
get
http://jira.eswin.com/rest/tests/1.0/project/10302/testresultstatus
[{"isDefault":true,"color":"#cfcfc4","i18nKey":"TEST_RESULT.STATUS.NOT_EXECUTED","name":"Not Executed","index":0,"id":88,"projectId":10302
},{"isDefault":false,"color":"#f0ad4e","i18nKey":"TEST_RESULT.STATUS.IN_PROGRESS","name":"In Progress","index":1,"id":89,"projectId":10302},{"isDefault":false,"color":"#3abb4b","i18nKey":"TEST_RESULT.STATUS.PASS","name":"Pass","index":2,"id":90,"projectId":10302
},{"isDefault":false,"color":"#df2f36","i18nKey":"TEST_RESULT.STATUS.FAIL","name":"Fail","index":3,"id":91,"projectId":10302},{"isDefault":false,"color":"#4b88e7","i18nKey":"TEST_RESULT.STATUS.BLOCKED","name":"Blocked","index":4,"id":92,"projectId":10302
},{"isDefault":false,"color":"#ffd966","name":"uvm_warn","index":5,"description":"uvm_warn in ExecMan test","id":189,"projectId":10302
},{"isDefault":false,"color":"#cc0000","name":"vcs_crash","index":6,"description":"vcs_crash in ExecMan test","id":190,"projectId":10302
},{"isDefault":false,"color":"#ff0000","name":"Run_TimedOut","index":7,"description":"Run_TimedOut in ExecMan test","id":191,"projectId":10302
},{"isDefault":false,"color":"#ff0000","name":"uvm_error","index":8,"description":"uvm_error in ExecMan test","id":192,"projectId":10302
}]
get
http://jira.eswin.com/rest/tests/1.0/project/10302/testcasepriority
[{"isDefault":false,"color":"#ff0000","i18nKey":"TESTCASE.PRIORITY.HIGH","name":"High","index":0,"id":102,"projectId":10302
},{"isDefault":true,"color":"#ffa900","i18nKey":"TESTCASE.PRIORITY.NORMAL","name":"Normal","index":1,"id":103,"projectId":10302
},{"isDefault":false,"color":"#008000","i18nKey":"TESTCASE.PRIORITY.LOW","name":"Low","index":2,"id":104,"projectId":10302
}]get
http://jira.eswin.com/rest/tests/1.0/testrun/35/testrunitems?fields=id,index,issueCount,$lastTestResult
[{'index': 0, 'id': 205,'$lastTestResult'
: {'id': 904, 'assignedTo': 'JIRAUSER10504', 'userKey': 'JIRAUSER10504', 'testCase': {'name': 'rest-api-trial-1111', 'id': 1062, 'majorVersion': 1, 'projectId': 10302, 'folderId': 12, 'key': 'SOC-T999', 'priorityId': 102}, 'testResultStatusId': 90}, 'issueCount': 0}, {'index': 1,'id': 206
,'$lastTestResult'
: {'id': 893, 'assignedTo': 'JIRAUSER10504', 'userKey': 'JIRAUSER10504', 'testCase': {'name': 'trial-rest-api', 'id': 1061, 'majorVersion': 1, 'projectId': 10302, 'folderId': 12, 'key': 'SOC-T998', 'priorityId': 103}, 'testResultStatusId': 190}, 'issueCount': 0}]get testrun/
35
/testresults?fields=id,testResultStatusId,automated,estimatedTime,customFieldValues,executionTime,executionDate,plannedStartDate,plannedEndDate,actualStartDate,actualEndDate,environmentId,jiraVersionId,sprintId,comment,userKey,assignedTo,testScriptResults(id,testResultStatusId,executionDate,comment,index,description,expectedResult,testData,traceLinks,attachments,sourceScriptType,parameterSetId,customFieldValues,stepAttachmentsMapping),traceLinks,attachments&itemId=205
[{'estimatedTime': 7200000, 'executedBy': 'JIRAUSER10504', 'actualEndDate': '2021-01-27T08:45:05.000Z', 'executionDate': '2021-01-27T08:45:05.000Z', 'assignedTo': 'JIRAUSER10504', 'testScriptResults'
: [{'sourceScriptType': 'STEP_BY_STEP', 'testData': 'bsub -Is verdi', 'expectedResult': 'passed', 'executionDate': '2021-01-27T08:44:59.000Z', 'index': 0, 'description': 'start verdiabc', 'id': 922, 'testResultStatusId': 90}, {'sourceScriptType': 'STEP_BY_STEP', 'testData': 'bsub -Is vcs', 'expectedResult': 'verified', 'executionDate': '2021-01-27T08:45:01.000Z', 'index': 1, 'description': 'start vcs456', 'id': 923, 'testResultStatusId': 90}, {'sourceScriptType': 'STEP_BY_STEP', 'testData': 'bsub -Is vc_static_lint', 'expectedResult': 'passed', 'executionDate': '2021-01-27T08:45:02.000Z', 'index': 2, 'description': 'start lint789', 'id': 924, 'testResultStatusId': 90}, {'sourceScriptType': 'STEP_BY_STEP', 'testData': 'bsub -Is vc_formal', 'expectedResult': 'passed', 'executionDate': '2021-01-27T08:45:05.000Z', 'index': 3, 'description': 'start test1357', 'id': 925, 'testResultStatusId': 90}], 'userKey': 'JIRAUSER10504', 'testResultStatusId': 90, 'sprintId': 142, 'automated': False,
'customFieldValues': [
{'stringValue': 'session-1861', 'id': 1890, 'customField': {'archived': False, 'name': 'eman-Session', 'index': 0, 'id': 15, 'type': 'SINGLE_LINE_TEXT', 'projectId': 10302, 'required': False}},
{'stringValue': '2021-01-27 16:44:38', 'id': 1891, 'customField': {'archived': False, 'name': 'eman-StartTime', 'index': 1, 'id': 14, 'type': 'SINGLE_LINE_TEXT', 'projectId': 10302, 'required': False}},
{'stringValue': '5819', 'id': 1892, 'customField': {'archived': False, 'name': 'eman-RTime', 'index': 2, 'id': 16, 'type': 'SINGLE_LINE_TEXT', 'projectId': 10302, 'required': False}}], 'jiraVersionId': '10805', 'actualStartDate': '2021-01-27T08:44:03.000Z', 'id': 904},
{'estimatedTime': 7200000, 'executedBy': 'JIRAUSER10504', 'actualEndDate': '2021-01-27T02:50:23.000Z', 'executionDate': '2021-01-27T02:50:23.000Z', 'assignedTo': 'JIRAUSER10504', 'testScriptResults'
: [
{'sourceScriptType': 'STEP_BY_STEP', 'testData': 'bsub -Is verdi', 'expectedResult': 'passed', 'executionDate': '2021-01-27T02:50:23.000Z', 'index': 0, 'description': 'start verdiabc', 'id': 914, 'testResultStatusId': 90},
{'sourceScriptType': 'STEP_BY_STEP', 'testData': 'bsub -Is vcs', 'expectedResult': 'verified', 'executionDate': '2021-01-27T02:50:21.000Z', 'index': 1, 'description': 'start vcs456', 'id': 915, 'testResultStatusId': 90}, {'sourceScriptType': 'STEP_BY_STEP', 'testData': 'bsub -Is vc_static_lint', 'expectedResult': 'passed', 'executionDate': '2021-01-27T02:50:19.000Z', 'index': 2, 'description': 'start lint789', 'id': 916, 'testResultStatusId': 90},
{'sourceScriptType': 'STEP_BY_STEP', 'testData': 'bsub -Is vc_formal', 'expectedResult': 'passed', 'executionDate': '2021-01-27T02:50:18.000Z', 'index': 3, 'description': 'start test1357', 'id': 917, 'testResultStatusId': 90}], 'userKey': 'JIRAUSER10504', 'testResultStatusId': 90, 'sprintId': 142, 'automated': False,
'customFieldValues': [{'stringValue': '2021-01-27 10:50:25', 'id': 1871, 'customField': {'archived': False, 'name': 'eman-StartTime', 'index': 1, 'id': 14, 'type': 'SINGLE_LINE_TEXT', 'projectId': 10302, 'required': False}}, {'stringValue': '2345', 'id': 1872, 'customField': {'archived': False, 'name': 'eman-RTime', 'index': 2, 'id': 16, 'type': 'SINGLE_LINE_TEXT', 'projectId': 10302, 'required': False}}, {'stringValue': 'session_e0001772_20210127_105125', 'id': 1873, 'customField': {'archived': False, 'name': 'eman-Session', 'index': 0, 'id': 15, 'type': 'SINGLE_LINE_TEXT', 'projectId': 10302, 'required': False}}], 'jiraVersionId': '10805', 'actualStartDate': '2021-01-27T02:50:10.000Z', 'id': 903}, {'estimatedTime': 7200000, 'executedBy': 'JIRAUSER10504', 'actualEndDate': '2021-01-26T06:32:09.000Z', 'executionDate': '2021-01-26T06:32:09.000Z', 'assignedTo': 'JIRAUSER10504', 'testScriptResults': [{'sourceScriptType': 'STEP_BY_STEP', 'testData': 'bsub -Is verdi', 'expectedResult': 'passed', 'index': 0, 'description': 'start verdiabc', 'id': 897, 'testResultStatusId': 88}, {'sourceScriptType': 'STEP_BY_STEP', 'testData': 'bsub -Is vcs', 'expectedResult': 'verified', 'index': 1, 'description': 'start vcs456', 'id': 898, 'testResultStatusId': 88}, {'sourceScriptType': 'STEP_BY_STEP', 'testData': 'bsub -Is vc_static_lint', 'expectedResult': 'passed', 'index': 2, 'description': 'start lint789', 'id': 899, 'testResultStatusId': 88}], 'userKey': 'JIRAUSER10504', 'testResultStatusId': 189, 'sprintId': 139, 'automated': False, 'customFieldValues': [{'stringValue': 'session_e0001772_222', 'id': 1861, 'customField': {'archived': False, 'name': 'eman-Session', 'index': 0, 'id': 15, 'type': 'SINGLE_LINE_TEXT', 'projectId': 10302, 'required': False}}, {'stringValue': '11:13', 'id': 1862, 'customField': {'archived': False, 'name': 'eman-StartTime', 'index': 1, 'id': 14, 'type': 'SINGLE_LINE_TEXT', 'projectId': 10302, 'required': False}}], 'jiraVersionId': '10805', 'actualStartDate': '2021-01-26T06:32:09.000Z', 'id': 890}, {'estimatedTime': 7200000, 'executedBy': 'JIRAUSER10504', 'actualEndDate': '2021-01-25T08:49:00.000Z', 'executionDate': '2021-01-25T08:49:00.000Z', 'assignedTo': 'JIRAUSER10504', 'testScriptResults': [{'sourceScriptType': 'STEP_BY_STEP', 'testData': 'bsub -Is verdi', 'expectedResult': 'passed', 'executionDate': '2021-01-25T08:48:57.000Z', 'index': 0, 'description': 'start verdiabc', 'id': 785, 'testResultStatusId': 90}, {'sourceScriptType': 'STEP_BY_STEP', 'testData': 'bsub -Is vcs', 'expectedResult': 'verified', 'executionDate': '2021-01-25T08:48:59.000Z', 'index': 1, 'description': 'start vcs456', 'id': 786, 'testResultStatusId': 90}, {'sourceScriptType': 'STEP_BY_STEP', 'testData': 'bsub -Is vc_static_lint', 'expectedResult': 'passed', 'executionDate': '2021-01-25T08:49:00.000Z', 'index': 2, 'description': 'start lint789', 'id': 787, 'testResultStatusId': 90}], 'userKey': 'JIRAUSER10504', 'testResultStatusId': 90, 'sprintId': 139, 'automated': False, 'jiraVersionId': '10805', 'actualStartDate': '2021-01-25T08:48:54.000Z', 'id': 780}]