Last updated
Last updated
The automation/runs
namespace provides API methods for automation runs and threads. You can use these methods to retrieve automation runs and threads for a project, create new runs and threads, submit test results (including custom fields, artifacts & links) and finally mark runs and threads as completed.
/projects/{project_id}/automation/runs
Returns all automation runs for a project.
This method uses so you might need to request additional pages to retrieve all automation runs.
automation_sources
configs
milestones
statuses
users
/automation/runs/{automation_run_id}
Returns a single automation run.
automation_sources
configs
milestones
statuses
users
/projects/{project_id}/automation/runs
Creates a new automation run in a target project in preparation for adding threads and test results.
Returns the ID of the created automation run on success:
/automation/runs/{automation_run_id}/append
Appends test artifacts, fields or links to an existing automation run.
/automation/runs/{automation_run_id}/complete
Marks an automation run and its threads as completed and closes it for new threads and test results.
/automation/runs/{automation_run_id}/threads
Creates a new thread in an automation run in preparation for adding test results.
Returns the ID of the created thread on success:
/automation/runs/threads/{automation_run_thread_id}/append
Appends test artifacts, fields or test results to an existing thread in an automation run.
/automation/runs/threads/{automation_run_thread_id}/complete
Marks an automation run thread as completed and closes it for new test results.
This method supports the following so you can automatically include additional information for referenced objects:
200
400
401
403
422
()
This method supports the following so you can automatically include additional information for referenced objects:
200
400
401
403
404
422
()
201
400
401
403
404
422
()
204
400
401
403
404
422
()
204
400
401
403
404
422
()
201
400
401
403
404
422
()
204
400
401
403
404
422
()
204
400
401
403
404
422
()