Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=admUpdatePriorityScheme+-+1182270289 |
---|
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 | admUpdatePriorityScheme(schemeId, name, defaultPriorityId, description) | Package | adm | Alias | | Pkg Usage | updatePriorityScheme(schemeId, name, defaultPriorityId, description) | |
Description
Excerpt |
---|
|
Updates a priority scheme. |
The basic updated of a priority scheme, we only set the name, description and priorities. You can also alter the priorities and projects in it by using the according routines.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
schemeId | number | Yes | The id of the priority scheme to be updated | name | string | Yes | The new name of the priority scheme. Must be unique | defaultPriorityId | number | Yes | The new id of the default priority for the priority scheme. | description | string | No | The new description of the priority scheme. | |
Return Type
boolean
Returns true if the scheme was updated, false otherwise.
Example
Example 1
Updates a priority scheme
Code Block |
---|
|
admUpdatePriorityScheme(schId, "new name updated at " + currentDate(), 4, "description updated at " + currentDate()); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "priority_scheme_admin_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.