Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admUpdateProjectComponent(componentStructure)

Package

adm

Alias

Pkg Usage

updateComponent(componentStructure)

Description

Excerpt
hiddentrue
Updates a project component.

Updates a project component.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

componentStructure

JComponent

Yes

Structure containing the component data to be updated. Component id is mandatory. The componentStructure parameter should have the JComponent type described here.

Return Type

None

Return value has no meaning.

Example

Code Block
languagejs
JComponent comp = getComponent("AP", "compName");
comp.name = "compName - updated";
comp.description = "compDesc";
comp.lead = "johnDoe";
comp.defaultAssignee = 2;
admUpdateProjectComponent(comp);

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "component_admin_routine" and space = currentSpace ( )
labelsarray_routines

We've encountered an issue exporting this macro. Please try exporting this page again later.