Creates a new project in JIRA based on an existing one. For details, refer to http://www.interconcept.de/bizdoc/de/iconcept/icbiz/rest/CpProjectRes.html.
Example (Method GET)
https://example.com/myjira/rest/icbiz/1.0/project/copy?sourceProjectKey=ABC&targetProjectKey=DEF&targetProjectName=NewName©Components=true©Versions=true©Issues=true
Parameter | Description | Remarks |
---|---|---|
sourceProjectKey | Key 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 |
copyVersions | If true, versions are copied, too. | |
copyComponents | If true, components are copied, too. | |
copyIssues | If true, issues are copied, too. | Issues are copied with attachments and with sub-tasks, but without
To copy issues, you have to copy components and versions, too! |
copyDashFilters | If true, dashboard and issue filters are copied, too. |
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
If you need any other kind of data/operations related to JIRA issues, use the JIRA REST API (https://docs.atlassian.com/jira/REST/).