Syntax
tempoSetAccountForIssue(issueKey, account)
tempoSetAccountForIssue(issueKey, account, [forceSet])
Description
Sets the issue account. Returns true if the set has been performed.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
issuekey | string | Yes | Issue key |
account | string | Yes | Account id, its key or its name |
forceSet | boolean | No | True or false, depending if you want to force setting the account for a project that it's not defined on or not. Default value: true. Available since version 4.0.1 |
Return type
bool
Example 1
tempoSetAccountForIssue(issueKey, account);
Sets the given account to the given issue, no matter if the account is not defined for that project.
Example 2
tempoSetAccountForIssue(issueKey, account, false);
Sets the given account to the given issue, only if the account is defined for that project.
See also
Filter by label
There are no items with the selected labels at this time.