Sample - Fetch, Execute, And Update Execution Status

December 16, 2016

Problem

How to Fetch, Execute, And Update Test Issues And Executions

Solution

Sample java code is provided for reference.

  1. Code searches for issues (using JQL query ) and appends all the ID's to a list.
  2. Then it takes the ID list and assigns them all to Ad-Hoc cycle of the Project Unscheduled Version.
  3. ZAPI will return the execution ID of the newly assigned test issues and appends them all to a new list.
  4. Finally, the list is used to then quick execute each assignment through a loop. 

Refer the link to download the sample 

ZAPI Cloud Interactive documentation: http://docs.zfjcloud.apiary.io/

Products: