Skip to end of banner
Go to start of banner

admCreateProjectFromTemplate

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Current »

Description

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

Parameters

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

  • No labels