This resource represents project templates. Use it to create a new project from a custom template.

Hierarchy

  • CommonHttpService
    • ProjectTemplatesService

Constructors

  • Internal

    Create a new instance of the service.

    Parameters

    • getClientInstance: (() => CommonHttpClient)
        • (): CommonHttpClient
        • Returns CommonHttpClient

    Returns ProjectTemplatesService

Methods

  • Creates a project based on a custom template provided in the request.

    The request body should contain the project details and the capabilities that comprise the project:

    • details - represents the project details settings
    • template - represents a list of capabilities responsible for creating specific parts of a project

    A capability is defined as a unit of configuration for the project you want to create.

    This operation is:

    • asynchronous. Follow the Location link in the response header to determine the status of the task and use Get task to obtain subsequent updates.

    Note: This API is only supported for Jira Enterprise edition.

    Parameters

    Returns Promise<void>

    POST /rest/api/3/project-template @scopes-current manage:jira-configuration @scopes-beta write:project:jira, read:project:jira