Versions Compared

Key

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

Looking for the documentation on the newest versions of SIL Engine and the Simple Issue Language for Jira 8 for Server/Data CenterClick here and leave these dusty old pages behind !


Info
titleAvailability

This routine is available starting with SIL Engine™ 4.0.16

Syntax

admUpdateProjectComponent(componentStructure)

Description

Excerpt

Updates a project component.

...

The componentStructure parameter should have the JComponent type described here.

Return type

string
You can safely ignore the return value of this routine.

Example

Code Block
JComponent comp = admGetProjectComponent("AP", "compName");
comp.name = "compName - updated";
comp.description = "compDesc";
comp.lead = "JIRAUSER10000"; // The user key must be entered here.
comp.defaultAssignee = 2;
admUpdateProjectComponent(comp);

...

Info

When setting the component lead, the user key must be passed. If you would like to use the user name instead, consider using usernameToUserKey() to convert to user key.


See also

Filter by label (Content by label)
showLabelsfalse
max150
showSpacefalse
cqllabel = "jira_project_routine"
labelsjira_project_routine