You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I have created 2 fresh test cases:
TC1) https://jira.companyname.com/secure/Tests.jspa#/testCase/ECOMMERCE-T226
TC2) https://jira.companyname.com/secure/Tests.jspa#/testCase/ECOMMERCE-T606
For TC-1, I attach a defect manually. TC-2 remains as it is.
Now when I call below API with proper authentication =>
https://jira.companyname.com/rest/tests/1.0/testcase/{tc-id}
Json response is for TC-1 is =>
{"archived": false,"averageTime": 8000,"createdBy": "","createdOn": "Z","customFieldValues": [{"customField": {"archived": ,"id": ,"index": ,"name": ,"options": [],"projectId": ,"required": ,"type":},"id": ,"stringValue": ""}],"folder": {"folderType": "TEST_CASE","fullName": "","id": ,"index": ,"parent": {"folderType": "","id": ,"index": ,"name": "","projectId":},"projectId":},
"id": 99073, ===>> numerical test case id <<<===
"issueLinks": [{"id": 47395,"issueId": "490438"}].......
}
Json response is for TC-2 is =>
{"archived": ,"createdBy": "","createdOn": "","id": ,"key": "","latestVersion": ,"majorVersion": ,"name": "","objective": "","owner": "","parameters": [],"priority": {"color": "","id": ,"index": ,"isDefault": ,"name": "","projectId":},"projectId": 13725,"status": {"color": "","id": ,"index": ,"isDefault": ,"name": "","projectId":},"testData": [],"testScript": {"stepByStepScript": {"id": ,"steps": [......]}}}
Upon careful observation it is observed that "customFieldValues" is missing for TC-2. In the missing section, we receive a numerical TC-id, which I would need for further analysis.
Note that there is no good response (HTTP-404) for 2.0 / 3.0 version
https://jira.companyname.com/rest/tests/2.0/testcase/{tc-id}
https://jira.companyname.com/rest/tests/3.0/testcase/{tc-id}
Please help to resolve this issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.