Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Teams
, (opens new window)

Power Scripts for Jira Cloud
Results will update as you type.
  • Get started
  • Configuration guides
  • Integration guides
  • Feature guides
  • Advanced features
  • Migration resources
  • Simple Issue Language
    • Getting started with SIL
    • SIL reference guide
    • SIL Functions library
      • Function Index
      • Packages
      • Array Functions
      • Basic Functions
      • Date and Interval Functions
      • Excel Functions
      • File Manipulation Functions
      • HTTP Functions
      • Incoming Mail Processing Functions
      • Integration with Other Systems
      • Jira Administration Functions
        • Custom Field Administration Functions
        • Dashboard Functions
        • Field Configuration Functions
        • Filter Administration Functions
        • Group Administration Functions
        • Issue Administration Functions
        • Issue Type & IT Screen Scheme Administration Functions
        • Notification Administration Functions
        • Permissions Administration Functions
        • Priority Scheme Administration Functions
        • Project Administration Functions
          • admCreateProject
          • admCreateProjectFromTemplate
            • Project Template Keys
          • admDeleteProject
          • admProjectExists
          • admUpdateProject
          • Project Archive Administration Functions
          • Project Category Administration Functions
          • Project Component Administration Functions
          • Project Property Administration Functions
          • Project Scheme Administration Functions
          • Project Version Administration Functions
          • projectObject
        • Screen and Screen Schemes Administration Functions
        • System Administration Functions
        • User Administration Functions
      • Jira Integration Functions
      • Jira Service Management Functions
      • Jira Software Functions
      • Listener Functions
      • Math Functions
      • Parameter Functions
      • Scheduling Functions
      • String Functions
      • System Integration
      • Webhooks Functions
  • Tutorials and recipes
  • Jira Product Discovery support
  • Release notes
  • Help and support
    You‘re viewing this with anonymous access, so some content might be blocked.
    /
    admCreateProjectFromTemplate
    Updated Aug 12

    admCreateProjectFromTemplate

    Syntax

    admCreateProjectFromTemplate(template_key, key, name, description, url, category, defaultUser, assign_to_def_user[,permissionScheme, issueSecurityScheme, notificationScheme])

    Package

    adm

    Alias

     

    Pkg Usage

    createProjectFromTemplate(template_key, key, name, description, url, category, defaultUser, assign_to_def_user[,permissionScheme, issueSecurityScheme, notificationScheme])

    Description

    Creates a new project using one of the many available project templates for Jira Cloud.

    Parameters

    Parameter name

    Type

    Required

    Description

    Parameter name

    Type

    Required

    Description

    template_key

    string

    Yes

    The project template key. See this page for a list of possible values.

    key

    string

    Yes

    The project key. The value must be unique.

    name

    string

    Yes

    The project name. The value must be unique.

    description

    string

    Yes

    The project description.

    url

    string

    Yes

    The project URL. Leave blank if no URL is available.

    category

    string

    Yes

    The project category. Leave blank if no category is available.

    defaultUser

    string

    Yes

    The default project assignee.

    assign_to_def_user

    boolean

    Yes

    Set to true to assign issues to the user by default. In this case, you must specify a user.

    permissionScheme

    string

    No

    The permission scheme ID or name. Leave blank if no permission scheme is available.

    issueSecurityScheme

    string

    No

    The issue security scheme ID or name. Leave blank if no issue security scheme is available.

    notificationScheme

    string

    No

    The notification scheme ID or name. Leave blank if no notification scheme is available.

    Return Type

    Boolean

    Returns true if the project has been created.

    Examples

    Example 1

    string TEMPLATE_KEY="com.atlassian.jira-core-project-templates:jira-core-simplified-task-tracking"; string KEY = "NEWPRJ"; string NAME = "New Project"; string DESCRIPTION = "My project"; string URL = "https://appfire.atlassian.net/wiki/spaces/APPFIRE/overview"; string CATEGORY = "TEST"; string DEFAULT_USER = "juser"; boolean ASSIGN_TO_DEF_USER = false; return admCreateProjectFromTemplate(TEMPLATE_KEY, KEY, NAME, DESCRIPTION, URL, CATEGORY, DEFAULT_USER, ASSIGN_TO_DEF_USER);

    Example 2

    return admCreateProjectFromTemplate("com.atlassian.servicedesk:simplified-general-service-desk-it", "SMPRJ", "Service Desk Project", "My project", "https://appfire.atlassian.net/wiki/spaces/APPFIRE/overview", "TEST", "juser", false "Default Permission Scheme", "Simplified Issue Security Scheme", "Default Notification Scheme");

    See also

    • Page:
      admGetProjectCategory
    • Page:
      projectObject
    • Page:
      admGetArchivedProjects
    • Page:
      admIsProjectArchived
    • Page:
      admSetProjectCategory
    • Page:
      admProjectExists
    • Page:
      admUpdateProject
    • Page:
      admDeleteProject
    • Page:
      admCreateProject
    • Page:
      admCreateProjectFromTemplate
    • Page:
      admGetProjectPropertyKeys
    • Page:
      admDeleteProjectProperty
    • Page:
      admGetProjectPropertyValues
    • Page:
      admClearProjectPropertyValue
    • Page:
      admSetProjectPropertyValue
    • Page:
      admDeleteProjectCategory
    • Page:
      admUpdateProjectCategory
    • Page:
      admGetAllProjectCategories
    • Page:
      admAddProjectCategory
    • Page:
      admProjectProperties
    • Page:
      admUnArchiveProject
    • Page:
      admArchiveProject
    • Page:
      admSetProjectWorkflowScheme
    • Page:
      admSetProjectNotificationScheme
    • Page:
      admSetProjectPermissionScheme
    Peacock

    Need support? Create a request with our support team.

    Copyright © 2005 - 2025 Appfire | All rights reserved.

    {"serverDuration": 33, "requestCorrelationId": "29a97bab00c8488ebc91cceeb09653d8"}