Calculated time span field time example
Calculated time span fields can generate the time difference between two workflow events or a workflow event and the current time. This can be useful for tracking how long it took to move items through the workflow, such as the time to close a test run after it was assigned.
The following example shows the configuration for a calculated field that returns the number of days to close an issue after it was created.