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

Compare with Current View Page History

« Previous Version 8 Next »

Field code
{issue.timeSpent}

Read


Returned valueTotal time logged on an issue in minutes
Output data type

NUMBER

Example output120


Write


Valid text input

Cast from text to number will be attempted
Valid numerical input
Number of minutes
Example input30

Sets the time spent.

The field value can also be increased or decreased e.g. by the function Update issue fields.

InputDescription
{issue.timeSpent} + 60
Adds 60 minutes to the current value of the time spent.
{issue.timeSpent} - {issue.cf10000}
Decreases the current value by the number (of minutes) found in the custom field with the ID 10000.


If you need the output as text, simply add % in front of the field code or directly insert the field code as text.