Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter name

Type

Required

Description

 pkeystringyesThe project Project key
pnamestringyesThe  project Project name.
descriptionstringyesThe project Project description.
leadstringyesRepresents a valid user that should be assignable on the project.
urlstringyesThe URL of the project. Leave blank if no URL is available.
categoryNamestringyesThe name Name of the category.
defaultIsUnassignedbooleanyesSet it to 'true' if you don't want to assign issues to the project lead above.
avatarIdnumericyesSet it to a negative number or zero for the default avatar id. Otherwise, you need to choose a valid avatar id.
projectTypeKeystringnoSet the project type key. If it is not set, the default value is "business".

Return type

boolean

True Returns 'true' if the project was created , and 'false' if not.

Example

Example 1

Code Block
admCreateProject("T3", "Thunderbolt3", "Three thunderbolts in a single hole", "zeus", "http://thunderbolts.olimpus.gr", "PUBLIC", false, 0);

...