We are performing a phasewise scheduled maintenance of our Zephyr for Jira Cloud and Capure for Jira Cloud instances to be compliant with GDPR- Atlassian privacy policy (https://www.atlassian.com/trust/privacy) .Please expect a downtime during this phase of maintenance from Saturday, 01/12/2019, 9:30 PM PST up until Sunday 01/13/2019, 9:30 AM PST.This will be for our phasewise deployment of infrastructure changes, migration utility verification and customer data migration, as part of our GDPR and Atlassian privacy policy compliance efforts.For any further queries regarding this please rasie a ticket by using the option 'Submit a Ticket' below
Support | Zephyr



Getting Started with ZAPI Cloud

Created on

Problem : How to make API calls with ZAPI Cloud Installed

Cause : Installed ZAPI Cloud add - on and not sure how to proceed.

Solution : Follow the below steps to start using ZAPI Coud API's

Steps:
Prerequisite : Installed ZAPI Cloud on the same JIRA Cloud instance where you have Zephyr for JIRA Cloud installed.

  • Navigate to Administration -> Add-ons and find the 'ZAPI' page in the 'Zephyr for JIRA Cloud' section

           

  • Click the 'Create System Key' button, enter any desired user name, and click the 'Submit' button to create it

         

  • The system key will have an Access Key and Secret Key associated to the user name you entered during creation. You can copy these from the ZAPI page         
  • Use the JWT generator published on Github to generate JWT tokens used for single calls  

JWT generator: https://github.com/zephyrdeveloper/zapi-cloud/blob/master/generator/java/compiled/jwt-generator.jar
Source Code: https://github.com/zephyrdeveloper/zapi-cloud/tree/master/generator/java
Note: Any JWT generator can be used. The above jar simply generates the JWT token and REST call at once

  • Use the generated token to make a call to ZAPI Cloud Beta. Below is an Example REST API call using Postman browser REST Client.

  • Note: For base URI please use https://prod-api.zephyr4jiracloud.com/connect/

USEFUL LINKS
Documentation: https://zephyrdocs.atlassian.net/wiki/display/DEVELOPER/ZAPI+Cloud
Interactive API Documentation: http://docs.zfjcloud.apiary.io/#
Samples: https://support.getzephyr.com/hc/en-us/sections/203379103-Developer-Zone-ZAPI-for-Cloud
JWT generator: https://github.com/zephyrdeveloper/zapi-cloud/blob/master/generator/java/compiled/jwt-generator.jar


Was this article helpful?
0 out of 5 found this helpful
Have more questions? Submit a request
Powered by Zendesk