Code takes test cycle parameters and adds the cycle to a Project-Version combination given when the call is made. The new cycle ID is returned from ZAPI and then it takes a predefined list of test issues and adds them to the new test cycle.
See attached for downloadable copy
ZAPI documentation: http://docs.getzephyr.apiary.io/
- Python (Sample created in v2.7.5)
- Requests 2.3.0 (Latest version here: http://docs.python-requests.org/en/latest/)
Title: Sample - Create a Test Cycle and Add Existing Tests
Version: Zephyr for JIRA 2.1+, ZAPI 1.0+
Summary: Created a cycle and add existing tests to it