Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

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
hiddentrue
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
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

issuekey

...

String

Yes

Issue key.

account

...

String

Yes

Account id, its key or its name.

forceSet

...

Boolean

...

Yes

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.

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)
showLabelsfalse
max25
showSpacefalse
cqllabel = "tempo-accounts"_routine" and space = currentSpace ( )
labelsarray_routines