Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
2
-
Description
Problem Definition
- Currently, to create a Project from REST API, we will need to provide projectTemplateKey as per the example from JIRA 7.7.1 Create Project REST API:
{ "key": "EX", "name": "Example", "projectTypeKey": "business", "projectTemplateKey": "com.atlassian.jira-core-project-templates:jira-core-project-management", "description": "Example Project description", "lead": "Charlie", "url": "http://atlassian.com", "assigneeType": "PROJECT_LEAD", "avatarId": 10200, "issueSecurityScheme": 10001, "permissionScheme": 10011, "notificationScheme": 10021, "categoryId": 10120 }
- However, there is no REST API endpoint to retrieve the available projectTemplateKey from JIRA.
Suggested Solution
To have a REST API endpoint for us to retrieve the available projectTemplateKey from JIRA so that we can use the projectTemplateKey during the Project creation.
Workaround
The available projectTemplateKey is listed in JIRA API 7.1.0 Create Project - Atlassian Community.