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.
Jira expression field
Select box for display format for Issue View
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.
Message that indicates whether the analyzing was successful or not.
Issue picker to test your expressions.
Expression Result
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
).
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.
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.
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.
anduser.
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.