Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Discrepancy in REST API response (customFieldValues json section missing)

I have created 2 fresh test cases:


For TC-1, I attach a defect manually. TC-2 remains as it is.

Now when I call below API with proper authentication =>{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{tc-id}{tc-id}


Please help to resolve this issue.

2 answers

Hi Developers, Please help to resolve this issue.

Hi @Adaptivity Admi  @JIRAADMIN could you please help to resolve this issue.

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events