Availability
This routine is available starting with katl-commons 2.5.19 / 2.6.11.
This routine is available for Jira server and cloud deployment options.
Syntax
getProjectComponentLead(pkey, compname)
Description
Returns the leader of the specified component from the specified project.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
pkey | String | Yes | Key of the selected project. |
compname | String | Yes | Name of the component. |
Return type
string
Returns the lead of the specified component from the specified project.
Example
//lead of the component comp1 from the project with key TSTPRJ is TL1 string leader = getProjectComponentLead("TSTPRJ", "comp1");
Result: TL1
See also