I'm currently using the following Endpoint to create a Project in Jira Software:
/rest/project-templates/1.0/createshared/{{projectid}}and this does create the project, but unfortunately, it assigns the incorrect project template to the specific Project. I need to assign 'Scrum Classic' to ALL projects created on Jira.
Heres what I've tried:
{
"description": "Example Project description",
"url": "{{my-url}}",
"avatarId": 10200,
"name": "Example",
"assigneeType": "PROJECT_LEAD",
"projectTypeKey": "software",
"key":"NEW1","name":"Test Project created with correct template",
"lead":"First Name",
"projectTemplateKey": "com.pyxis.greenhopper.jira:gh-scrum-template"
} but it seems to ignore the projectTemplateKey for this Endpoint.
I have seen a solution online for creation of the project, but none for applying the project template.
https://jira.atlassian.com/browse/JRASERVER-27256?focusedCommentId=943621&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-943621
by https://jira.atlassian.com/secure/ViewProfile.jspa?name=korolev_ap
Just wondering if anyone has come across this issue.
Thanks in advance.