/jira_server/rest/zapi/latest/test/count ; How this REST api work in the backend

MohammedKamil March 10, 2015

I just want to know how the REST API  /jira_server/rest/zapi/latest/test/count , does its work in the back end) . This REST API results in retrieving all the Test issue types , under the given project and a specific version Id . Even if i rename the Test attribute name to some random name , it still works . How is it identifying , even the name is changed ? I hope it internally uses the Test issue id to retrieve the issues. But still , i really want to know , how it is achieved ?? How this REST API works ? 

2 answers

1 accepted

1 vote
Answer accepted
S April 12, 2015

Hi Mohammad, 

    You are right in your understanding. IssueType is stored separately and is referred to by its ID. 

- Shailesh

MohammedKamil April 12, 2015

Thanks for the response Shailesh :) . If thats the case , how the issus id is referred here ?? Is there any separate REST api , to retrieve the Test issue type ID (The one provided by Zephyr) ??

S April 14, 2015

IssueId is displayed on General Info screen, /secure/admin/ZephyrGeneralConfiguration!info.jspa -Shailesh

MohammedKamil April 14, 2015

Again thanks for the response Shailesh . Is there any REST API available to retrieve that info ?? I have checked both docs.getzephyr.apiary.io and https://docs.atlassian.com/jira/REST/latest/ but couldn't find any .Any suggestion ??

0 votes
GANESHATHMAGNANAM April 9, 2020

I have installed the Jira locally in my machine and also installed the Zephyr, ZAPI for testing the usage of the rest api updating the Jira test cases.

But whenever i run the localhost:8282 APIs i am getting "Dead link" message in the postman. What is that i am missing here?

Below is what i am using?

http://localhost:2990/jira/rest/zapi/latest/systemInfo

Response:

 <title>Oops, you&#39;ve found a dead link. - JIRA</title>

Suggest an answer

Log in or Sign up to answer