Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-66918

Provide REST API endpoint to retrieve projectTemplateKey

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • REST API
    • None
    • 1
    • 2
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Problem Definition

      1. 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
        }
        
      2. 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.

              Unassigned Unassigned
              mmuthusamy Moga
              Votes:
              30 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: