Forum Discussion

hpmtissera's avatar
hpmtissera
Frequent Visitor
4 years ago

What is the Zephyr for JIRA Server REST api base URL?

I am trying to test Zephyr for JIRA rest API using a JIRA Server trial installed on my local workstation. JIRA is running on  http://localhost:8080   I referred the doc https://zephyrdocs.atlassia...
  • foxjosh's avatar
    4 years ago

    While the documentation states to include `jira` in the URL, the only way for it to work for me is to exclude it. The following should work, replacing <projectID> with the appropriate numerical ID of your project. Note: "TEST" is the project key and not the project ID. The project ID is integer based (example: 1234).

     

    http://localhost:8080/rest/zapi/latest/zchart/issueStatuses?projectId=<projectID>

     NOT

    http://localhost:8080/jira/rest/zapi/latest/zchart/issueStatuses?projectId=<projectID>