...
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 | tempoGetAccountForIssue(issueKey) | Package | tempo | Alias | | Pkg Usage | getAccountForIssue(issueKey) | |
Description
Excerpt |
---|
|
Returns the account set on the issue, if any. |
Returns the account set on the issue, if any.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
issuekey | |
...
...
Return
...
Type
TempoAccount
Example
Code Block |
---|
TempoAccount ta = tempoGetAccountForIssue("TST-1");
runnerLog("ID: " + ta.id);
runnerLog("Key: " + ta.key);
runnerLog("Name: " + ta.name);
runnerLog("Lead: " + ta.lead);
runnerLog("Contact: " + ta.contact);
runnerLog("Status: " + ta.status);
runnerLog("Customer ID: " + ta.customer_id);
runnerLog("Customer Key: " + ta.customer_key);
runnerLog("Customer Name: " + ta.customer_name);
runnerLog("Category ID: " + ta.category_id);
runnerLog("Category Key: " + ta.category_key);
runnerLog("Category Name: " + ta.category_name);
runnerLog("Monthly Budget:" + ta.monthly_budget);
runnerLog("Global: " + ta.global);
runnerLog("Billable: " + ta.billable); |
...
...
...
Name: [Tempo] Example Account |
...
...
...
...
...
...
...
...
...
Category Name: Client Billable - Fixed |
...
...
...
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "tempo-accounts"_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|