Versions Compared

Key

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


Page properties
hiddentrue
Status
Tech review

Status
colourYellow
titleReady for review

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged

Page properties
hiddentrue
id0


Field code{issue.timeSpent}
Type

Status
subtletrue
colourGreen
titleRead / Write

Available since




Code Block
titleField code
linenumberstrue
{issue.timeSpent}

Read


Page properties
id1


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

Status
subtletrue
titlenumber

Example output120




Write


Page properties
id2


Valid text input

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



UI Text Box
typeinfo

Sets the time spent.

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

InputDescription


Code Block
languagebash
linenumberstrue
{issue.timeSpent} + 60


Adds 60 minutes to the current value of the time spent.


Code Block
languagebash
linenumberstrue
{issue.timeSpent} - {issue.cf10000}


Decreases the current value by the number (of minutes) found in the custom field with the ID 10000.



UI Text Box
typetip

To learn more about this writable field, check the following use cases:

Include Page
DECADIS:_snip_number_to_text
DECADIS:_snip_number_to_text


Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged