Calculated Field++

Calculated Field++

Calculated Field++ is a powerful custom field that lets you create dynamic values in your Jira issues using Jira expressions. It can automatically calculate values based on other fields, perform calculations, and display formatted results.

 

Calculated field enables real-time calculations using Jira data with:

  • Auto-complete for Jira expressions

  • Multiple display formats (Text, User, Issue, Effort, Progress)

  • Built-in validation and error checking

Configuration

Step 1: Writing Jira Expression And Analyzing Syntax

At this step, you need to write your Jira expressions. After you’ve done with writing your Jira Expression, you need to analyze the syntax of the expression.

image-20250207-094440.png
  1. Jira expression field

  2. Select box for display format for Issue View

  3. Button to analyze the syntax of Jira expression

 

Step 2: Testing Jira Expressions (Optional)

After analyzing the expression, you can test it as well before you save the configuration.

image-20250207-094506.png
  1. Message that indicates whether the analyzing was successful or not.

  2. Issue picker to test your expressions.

  3. Expression Result

  4. Button to evaluate expression for the selected display format.

 

Example Use Cases

1. Personalized SLA Calculator

This example shows a personalized SLA calculator. The expression dynamically displays when an issue was created in the time zone of the user viewing the issue. It combines the user's timeZone with issue-specific details like the key (issue.key) and creation time (issue.created).

image-20250207-085902.png
  1. Warning message for “user” keyword used in expression.

 

2. Display user roles with issue context

Identifies the role of the current user for the issue being viewed. Depending on the user's account ID, it determines if they are the Reporter, Assignee, or a general Viewer of the issue.

image-20250206-134935.png

 

3. Track issue progress based on subtasks

Tracking the progress of an issue based on its subtasks. It calculates the percentage of subtasks that are marked as "Done" relative to the total number of subtasks. The result is displayed as a percentage.

image-20250207-094234.png
Configuration Screen

 

image-20250207-094158.png
Issue View

 

FAQs

Q: Why does the result look different in the playground compared to the issue view?

  • The playground displays the raw output of the Jira Expression, while the issue view applies the configured display format.

Q: Can I use fields other than issue. or user.?

  • No, only issue. and user. statements are supported since these fields are directly tied to issue properties and the current viewer context.

Q: What happens if the expression fails to evaluate?

  • An error will appear during validation. Ensure all syntax and references are correct before saving the field.