REST API - Copy Test Plan


Description


Below you can find REST endpoint for the Copy Test Plan operation. Parameters should be passed in a JSON file.


URL: $jira_context/rest/tms/1.0/testplan/copy

Method: POST

Parameters:

  • testPlanKey - issue key of the source test plan.
  • projects (optional) - list of projects, in which test plan copies will be created. 
  • copyStrategy (optional) - method of creating test cases on test plan copies. Valid values:
    • BY_TEST_CASE_TEMPLATES (default) - test cases will be created with data from their templates.
    • BY_TEST_CASES - test cases will be created with data from test cases from source test plan.


Sample JSON file: copy_tp.json