Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Creates a new project in JIRA based on an existing one.

icbiz JavaDoc

For details, refer to http://www.interconcepticoncept.de/bizdoc/de/iconcept/icbiz/rest/CpProjectRes.html.

Example (Method GET)

Code Block
https://example.com/myjira/rest/icbiz/1.0/project/copy?sourceProjectKey=ABC&targetProjectKey=DEF&targetProjectName=NewName&copyComponents=true&copyVersions=true&copyIssues=true

Remarks

copyVersions 
ParameterDescriptionRemarks
sourceProjectKeyKey of the project you want to copy/use as template.mandatory
targetProjectKey(Unique) key of the new project.mandatory
targetProjectName(Unique) name of the new project.mandatory
If true, versions are copied, too. 
copyComponentsIf true, components are copied, too. 
copyIssuesIf true, issues are copied, too.

Issues are copied with attachments and with sub-tasks, but without

  • comments
  • work logs.

Issues will be created in status "Open". The original status will be ignored.

Note

To copy issues, you have to copy components and versions, too!

copyDashFiltersIf true, dashboard and issue filters are copied, too.



Note

The API user nee ds the the global "JIRA Administrator" permission to create/copy projects. There might be other permissions required (e.g. create issue). If certain permissions are missing (e.g. create issues), the project might be created/copied, but e.g. the issues are not copied.


Info

The following elements/relations of a JIRA project are always copied and can't be configured:

  • Project description and avatar, if applicable
  • Permission Scheme
  • Notification Scheme
  • Issue Type Scheme
  • Workflow Scheme
  • Screen Scheme
  • Field Configuration Scheme
  • Role Configuration

...