create testcase
curl 'http://jira.eswin.com/rest/tests/1.0/project/10302/customfields/testcase' \ -H 'Connection: keep-alive' \ -H 'Accept: application/json, text/plain, */*' \ -H 'jira-project-id: 10302' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36' \ -H 'X-Requested-With: XMLHttpRequest' \ -H 'Referer: http://jira.eswin.com/secure/Tests.jspa' \ -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,co;q=0.6,mt;q=0.5' \ -H 'Cookie: JSESSIONID=6B0D725719E00154C6893B3CB259DAC2; crowd.token_key=UXQI1UMfDBNCUM4Wl8Yv7gAAAAAAGAABZTAwMDE4NjE; atlassian.xsrf.token=B9W5-8YZN-QRKC-SZJ4_270b62d413e27c637cff64f5b8f0f51a3d9323cb_lin' \ --compressed \ --insecure ;
curl 'http://jira.eswin.com/rest/tests/1.0/project/10302/customfields/teststep' \ -H 'Connection: keep-alive' \ -H 'Accept: application/json, text/plain, */*' \ -H 'jira-project-id: 10302' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36' \ -H 'X-Requested-With: XMLHttpRequest' \ -H 'Referer: http://jira.eswin.com/secure/Tests.jspa' \ -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,co;q=0.6,mt;q=0.5' \ -H 'Cookie: JSESSIONID=6B0D725719E00154C6893B3CB259DAC2; crowd.token_key=UXQI1UMfDBNCUM4Wl8Yv7gAAAAAAGAABZTAwMDE4NjE; atlassian.xsrf.token=B9W5-8YZN-QRKC-SZJ4_270b62d413e27c637cff64f5b8f0f51a3d9323cb_lin' \ --compressed \ --insecure ;
curl 'http://jira.eswin.com/rest/tests/1.0/project/10302/testcasestatus' \ -H 'Connection: keep-alive' \ -H 'Accept: application/json, text/plain, */*' \ -H 'jira-project-id: 10302' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36' \ -H 'X-Requested-With: XMLHttpRequest' \ -H 'Referer: http://jira.eswin.com/secure/Tests.jspa' \ -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,co;q=0.6,mt;q=0.5' \ -H 'Cookie: JSESSIONID=6B0D725719E00154C6893B3CB259DAC2; crowd.token_key=UXQI1UMfDBNCUM4Wl8Yv7gAAAAAAGAABZTAwMDE4NjE; atlassian.xsrf.token=B9W5-8YZN-QRKC-SZJ4_270b62d413e27c637cff64f5b8f0f51a3d9323cb_lin' \ --compressed \ --insecure ;
curl 'http://jira.eswin.com/rest/tests/1.0/project/10302/testcasepriority?fields=id,projectId,name,i18nKey,index,color' \ -H 'Connection: keep-alive' \ -H 'Accept: application/json, text/plain, */*' \ -H 'jira-project-id: 10302' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36' \ -H 'X-Requested-With: XMLHttpRequest' \ -H 'Referer: http://jira.eswin.com/secure/Tests.jspa' \ -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,co;q=0.6,mt;q=0.5' \ -H 'Cookie: JSESSIONID=6B0D725719E00154C6893B3CB259DAC2; crowd.token_key=UXQI1UMfDBNCUM4Wl8Yv7gAAAAAAGAABZTAwMDE4NjE; atlassian.xsrf.token=B9W5-8YZN-QRKC-SZJ4_270b62d413e27c637cff64f5b8f0f51a3d9323cb_lin' \ --compressed \ --insecure ; curl 'http://jira.eswin.com/rest/tests/1.0/folder/257?fields=id,fullName' \ -H 'Connection: keep-alive' \ -H 'Accept: application/json, text/plain, */*' \ -H 'jira-project-id: 10302' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36' \ -H 'X-Requested-With: XMLHttpRequest' \ -H 'Referer: http://jira.eswin.com/secure/Tests.jspa' \ -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,co;q=0.6,mt;q=0.5' \ -H 'Cookie: JSESSIONID=6B0D725719E00154C6893B3CB259DAC2; crowd.token_key=UXQI1UMfDBNCUM4Wl8Yv7gAAAAAAGAABZTAwMDE4NjE; atlassian.xsrf.token=B9W5-8YZN-QRKC-SZJ4_270b62d413e27c637cff64f5b8f0f51a3d9323cb_lin' \ --compressed \ --insecure ;
curl 'http://jira.eswin.com/rest/tests/1.0/project/10302/testcasestatus' \ -H 'Connection: keep-alive' \ -H 'Accept: application/json, text/plain, */*' \ -H 'jira-project-id: 10302' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36' \ -H 'X-Requested-With: XMLHttpRequest' \ -H 'Referer: http://jira.eswin.com/secure/Tests.jspa' \ -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,co;q=0.6,mt;q=0.5' \ -H 'Cookie: JSESSIONID=6B0D725719E00154C6893B3CB259DAC2; crowd.token_key=UXQI1UMfDBNCUM4Wl8Yv7gAAAAAAGAABZTAwMDE4NjE; atlassian.xsrf.token=B9W5-8YZN-QRKC-SZJ4_270b62d413e27c637cff64f5b8f0f51a3d9323cb_lin' \ --compressed \ --insecure ;
curl 'http://jira.eswin.com/rest/tests/1.0/project/10302/testcasepriority?fields=id,projectId,name,i18nKey,index,color' \ -H 'Connection: keep-alive' \ -H 'Accept: application/json, text/plain, */*' \ -H 'jira-project-id: 10302' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36' \ -H 'X-Requested-With: XMLHttpRequest' \ -H 'Referer: http://jira.eswin.com/secure/Tests.jspa' \ -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,co;q=0.6,mt;q=0.5' \ -H 'Cookie: JSESSIONID=6B0D725719E00154C6893B3CB259DAC2; crowd.token_key=UXQI1UMfDBNCUM4Wl8Yv7gAAAAAAGAABZTAwMDE4NjE; atlassian.xsrf.token=B9W5-8YZN-QRKC-SZJ4_270b62d413e27c637cff64f5b8f0f51a3d9323cb_lin' \ --compressed \ --insecure ;
curl 'http://jira.eswin.com/rest/tests/1.0/testcase' \ -H 'Connection: keep-alive' \ -H 'Accept: application/json, text/plain, */*' \ -H 'jira-project-id: 10302' \ -H 'X-Requested-With: XMLHttpRequest' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36' \ -H 'Content-Type: application/json;charset=UTF-8' \ -H 'Origin: http://jira.eswin.com' \ -H 'Referer: http://jira.eswin.com/secure/Tests.jspa' \ -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,co;q=0.6,mt;q=0.5' \ -H 'Cookie: JSESSIONID=6B0D725719E00154C6893B3CB259DAC2; crowd.token_key=UXQI1UMfDBNCUM4Wl8Yv7gAAAAAAGAABZTAwMDE4NjE; atlassian.xsrf.token=B9W5-8YZN-QRKC-SZJ4_270b62d413e27c637cff64f5b8f0f51a3d9323cb_lin' \ --data-raw '{"projectId":10302,"name":"e21_a9_test","owner":"JIRAUSER10504","folderId":257,"statusId":93,"priorityId":103,"customFieldValues":[{"customFieldId":4,"intValue":4},{"customFieldId":6,"stringValue":"-6-"}],"testScript":{"stepByStepScript":{"steps":[{"index":0,"description":"","expectedResult":"","customFieldValueIndex":{},"customFieldValues":[]}]}}}' \ --compressed \ --insecure ;
curl 'http://jira.eswin.com/rest/tests/1.0/testcase/1582?fields=customFieldValues,testScript(id,text,steps(index,description,text,expectedResult,testData,customFieldValues,attachments,id,stepParameters(id,testCaseParameterId,value),testCase(id,key,name,archived,majorVersion,latestVersion,parameters(id,name,defaultValue,index))))' \ -H 'Connection: keep-alive' \ -H 'Accept: application/json, text/plain, */*' \ -H 'jira-project-id: 10302' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36' \ -H 'X-Requested-With: XMLHttpRequest' \ -H 'Referer: http://jira.eswin.com/secure/Tests.jspa' \ -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,co;q=0.6,mt;q=0.5' \ -H 'Cookie: JSESSIONID=6B0D725719E00154C6893B3CB259DAC2; crowd.token_key=UXQI1UMfDBNCUM4Wl8Yv7gAAAAAAGAABZTAwMDE4NjE; atlassian.xsrf.token=B9W5-8YZN-QRKC-SZJ4_270b62d413e27c637cff64f5b8f0f51a3d9323cb_lin' \ --compressed \ --insecure ;
curl 'http://jira.eswin.com/rest/tests/1.0/testcase/SOC-T1052/allVersions?fields=id,majorVersion' \ -H 'Connection: keep-alive' \ -H 'Accept: application/json, text/plain, */*' \ -H 'jira-project-id: 10302' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36' \ -H 'X-Requested-With: XMLHttpRequest' \ -H 'Referer: http://jira.eswin.com/secure/Tests.jspa' \ -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,co;q=0.6,mt;q=0.5' \ -H 'Cookie: JSESSIONID=6B0D725719E00154C6893B3CB259DAC2; crowd.token_key=UXQI1UMfDBNCUM4Wl8Yv7gAAAAAAGAABZTAwMDE4NjE; atlassian.xsrf.token=B9W5-8YZN-QRKC-SZJ4_270b62d413e27c637cff64f5b8f0f51a3d9323cb_lin' \ --compressed \ --insecure ;
curl 'http://jira.eswin.com/rest/tests/1.0/testcase/1582/comments' \ -H 'Connection: keep-alive' \ -H 'Accept: application/json, text/plain, */*' \ -H 'jira-project-id: 10302' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36' \ -H 'X-Requested-With: XMLHttpRequest' \ -H 'Referer: http://jira.eswin.com/secure/Tests.jspa' \ -H 'Accept-Language: en-US,en;q=0.9,zh-CN;q=0.8,zh;q=0.7,co;q=0.6,mt;q=0.5' \ -H 'Cookie: JSESSIONID=6B0D725719E00154C6893B3CB259DAC2; crowd.token_key=UXQI1UMfDBNCUM4Wl8Yv7gAAAAAAGAABZTAwMDE4NjE; atlassian.xsrf.token=B9W5-8YZN-QRKC-SZJ4_270b62d413e27c637cff64f5b8f0f51a3d9323cb_lin' \ --compressed \ --insecure