admGetProjectComponent

admGetProjectComponent

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 3.0.2 / 4.0.16

Syntax

admGetProjectComponent(projectKey, componentName)

Description

Returns a JComponent(id, name, description, lead, defaultAssignee) for a specified project and component name. The JComponent structure is described here.

Parameters

Parameter name

Type

Required

Description

Parameter name

Type

Required

Description

projectKey

string

yes

Project key.

componentName

string

yes

Name of the component.

Return type

JComponent

Example

admGetProjectComponent("TEST", "sil");

Returns a JComponent structure for the component named "sil" from the project "TEST".

 

See also