Info | ||
---|---|---|
| ||
This routine is available starting with SIL Engine™ *.*.*. |
Syntax
admCreateProjectWithSharedConfiguration(pkey, pname, description, lead, url, categoryName, defaultIsUnassigned, avatarId, pkeyForScheme)Starting with version 3.1.0
admCreateProjectWithSharedConfiguration(pkey, pname, description, lead, url, categoryName, defaultIsUnassigned, avatarId, pkeyForScheme, projectTypeKey)
...
Excerpt |
---|
Creates a new project, optionally offering support for category of the project. |
Creates the project and configures it with the security level, workflow scheme, etc, as in another project.
After creating the project will attempt to copy the following schemes:
- Field Configuration Scheme
- Issue Security Scheme
- Issue Type Scheme
- Issue Type Screen Scheme
- Notification Scheme
- Permission Scheme
- Workflow Scheme
Parameters
Parameter name | Type | Required | Description | ||
---|---|---|---|---|---|
pkey | string | yes | Project key | ||
pname | string | yes | Project name. | ||
description | string | yes | Project description. | ||
lead | string | yes | Represents a valid user that should be assignable on the project. | ||
url | string | yes | URL of the project. Leave blank if no URL is available. | ||
categoryName | string | yes | Name of the category. | ||
defaultIsUnassigned | boolean | yes | Set it to 'true' if you don't want to assign issues to the project lead above. | ||
avatarId | numeric | yes | Set it to a negative number or zero for the default avatar id. Otherwise, you need to choose a valid avatar id. | ||
pkeyForScheme | string | yes | Project key whose scheme you want to use. | ||
projectTypeKey | string | no | Set the project type key. If it is not set, the default value is "business".
|
...