...
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 |
---|
|
Since version 4.0.1, a third and optional parameter can also be provided: tempoSetAccountForIssue Syntax | tempoSetAccountForIssue(issueKey, account, [forceSet]) | Package | |
Note |
---|
tempo | Alias | | Pkg Usage | setAccountForIssue(issueKey, account, [forceSet]) |
|
Description
Excerpt |
---|
|
Sets the issue account. Returns true if the set has been performed. |
Sets the issue account. Returns true if the set has been performed.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
issuekey | |
...
String | Yes | Issue key. | account |
|
...
String | Yes | Account id, its key or its name. | forceSet |
|
...
...
Yes | True or false, depending if you want to force setting the account for a project that it's not defined on or not. |
|
...
Note |
---|
Available since version 4.0.1 |
Return type
bool
Return Type
Boolean
Examples
Example 1
Code Block |
---|
tempoSetAccountForIssue(issueKey, account); |
Sets the given account to the given issue, no matter if the account is not defined for that project.
Example 2
Code Block |
---|
tempoSetAccountForIssue(issueKey, account, false); |
...
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "tempo-accounts"_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|