Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=admSetProjectPropertyValue+-+514786270 |
---|
width | auto |
---|
|
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | admSetProjectPropertyValue(projectKey, propertyKey, propertyName, value) | Package | adm | Alias | | Pkg Usage | setProjectPropertyValue(projectKey, propertyKey, propertyName, value) | |
Description
Excerpt |
---|
|
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 |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
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 |
---|
|
admSetProjectPropertyValue("TEST", "myprop", "custom_int", 23) |
Code Block |
---|
|
admSetProjectPropertyValue("TEST", "myprop", "custom_str", "test_value") |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "project_admin_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.