This type of read-only custom field has a value which is dynamically calculated from a custom math/time expression. It can be used to obtain a date-time value depending on the value of other fields in current issue, or in any other issues: linked issues, sub-tasks, epics, stories, JQL selected issues, etc.
This parameter contains a valid math/time expression that will be calculated each time the value of the field is required.
The math/time expression is expected to return a numeric value that represents a moment in time as the milliseconds elapsed since January 1, 1970, 00:00:00 GMT.
In this example we show how to create a calculated number field called "Date-Time Creation of Epic" that will return the date-time of creation of the Epic issue. When current issue doesn't have an Epic issue, then the null
is returned, and no value is shown.
The math expression used in this example is: first(fieldValue({00009}, linkedIssues("has Epic")))
, where {00009}
is code for numeric value of Date and time of creation field.