Versions Compared

Key

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

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=admSetProjectPropertyValue+-+514786270
widthauto

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admSetProjectPropertyValue(projectKey, propertyKey, propertyName, value)

Package

adm

Alias

Pkg Usage

setProjectPropertyValue(projectKey, propertyKey, propertyName, value)

Description

Excerpt
hiddentrue
Set a property on the provided project

Saves a property with the specified name and value under the property key value may be an integer or a string. The property name will be used to index the array on the return of getProjectPropertyValues Returns true if that one is saved.

Parameters

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

Parameter name

Type

Required

Description

projectKey

String

Yes

Project key.

propertyKey

String

Yes

Property key.

propertyName

String

Yes

Property name.

value

String / Integer

Yes

The value set for the property on the provided project.

Return Type

Boolean (true/false)

Returns true if the property is saved and false otherwise.

Examples

Code Block
languagejs
admSetProjectPropertyValue("TEST", "myprop", "custom_int", 23)
Code Block
languagejs
admSetProjectPropertyValue("TEST", "myprop", "custom_str", "test_value")

See also

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

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