admAddProjectComponent

admAddProjectComponent

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data Center? Click here !

Availability

This routine is available starting with katl-commons 2.5.8 / 4.0.16

Syntax

admAddProjectComponent(pkey, compname, compdesc, complead, defaultIsUnassigned)

Starting with version 4.0.16

admAddProjectComponent(pkey, compname, compdesc, complead, defassignee)

Description

Adds a component in the project.

Parameters

Parameter name

Type

Required

Description

Parameter name

Type

Required

Description

pkey

string

yes

Project key.

compname

string

yes

Component name.

compdesc

string

yes

Description.

complead

string

yes

Component lead user key.

defaultIsUnassigned/

defassignee (since 4.0.16)

boolean/

number

yes/

yes

If 'true', the default is unassigned. If 'false', if lead has a non-null value, it is assigned to the component lead by default, otherwise to the default project./

Possible values and their respective effects: 0 - project default; 1 - component lead; 2 - project lead; any other value - unassigned.

Return type

boolean

Returns 'true' if the component was added and 'false' otherwise.

 

See also