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 Call (GET)
Code Block |
---|
https://example.com/myjira/rest/icbiz/1.0/project/copy?sourceProjectKey=ABC&targetProjectKey=DEF&targetProjectName=NewName©Components=true©Versions=true©Issues=true |
Remarks
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 | |||||
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
Issues will be created in status "Open". The original status will be ignored.
| copyDashFilters | If 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:
|
...