Skip to end of banner
Go to start of banner

tempoSetAccountForIssue

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

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

issuekeystringYesIssue key
accountstringYesAccount id, its key or its name
forceSetbooleanNo

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.

  • No labels