On this page
This type of read-only custom field has a value which is dynamically calculated from a custom math/numeric expression. It can be used to obtain a numeric 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).
Configuration
Math expression
Example 1 : Calculated Number Field "Number of Blocking Issues"
Create a new Calculated Date-Time Field custom field and name it properly.
Providing a descriptions will help you to identify what the custom field does but this step is optional
Parser expression
Add the following expression:
count(filterByResolution(linkedIssues("is blocked by"), ""))
Finally, the configuration of the new custom field should look like this:
Example 2: Calculated Number Field "Time to Due Date"
Create a new Calculated Date-Time Field custom field and name it properly.
Providing a descriptions will help you to identify what the custom field does but this step is optional
Parser expression
Add the following expression:
{00012} != null ? max({00012} - {00057}, 0) : null
Display format
Choose Duration for Content type
Choose Short for Duration display format
Finally, the configuration of the new custom field should look like this:
Example 3: Field to show time since issue creation resolution
Create a new Calculated Date-Time Field custom field and name it properly.
Providing a descriptions will help you to identify what the custom field does but this step is optional
Parser expression
Add the following parser expression:
{00112} != null ? {00112} - {00009} : null
If you still have questions, feel free to refer to our support team.