/create
- Karina Zoin
Owned by Karina Zoin
Allows a trusted user to Create a project from the specified template.
Request
https://your.jira.url/rest/projecttemplates/1.0/create-templates/create
Parameters
Parameter Name | Value | Description |
---|---|---|
projectKey | String | The desired project key. |
projectName | String | The desired project name. |
templateId | String | The template id to use. |
projectCategoryId | Long | The project category id to use |
baseProject | String | The project id of the project you would like the settings to be copied from |
projectLead | String | The user to make the projectLead. If none passed the current user will be used. |
Sample request
curl -u admin:admin -X POST -d @content.txt -H "Content-Type: application/x-www-form-urlencoded" -v http://your.jira.url/rest/projecttemplates/1.0/create-templates/create
Where content.txt contains:
projectKey=MARKETING&projectName=Marketing%20Project&templateId=1&projectCategoryId=-1&baseProject=-1&projectLead=
Sample response
{ "hasError": false, "name":"Marketing Project", "key": "Marketing", "general":"General error message if one occurred", "browseURL":"/browse/PCFJ", "adminURL":"/project-config/PCFJ", "extraHTMLFragment":"Extra html to be displayed to end user." }
Need more help? Contact our support team.