Jira Expressions Library: Examples & Use Cases
This Jira expressions library provides practical examples and real-world use cases for using Jira expressions in workflow conditions and validators.
Field Conditions
Is required
issue.assignee != nullissue.timeSpent != nullCompare Two Field Values
issue.reporter != issue.assigneeParent value in condition
issue.parent.customfield_12345 == "SAP"Field mandatory based on
Resolution
Labels
Value starts with
Match regex
Issue in active sprint
Original estimate field condition
Rich Text
Is not empty
Description
Time Spent
Ensure Time has been logged
Log time during the transition
Original Estimate
Check if Original Estimate was changed during transition
Check if Original Estimate is greater than 1 hour
Fix Versions
Cascading Select
Comments
Require a comment on a transition screen
Attachments
Force attaching a file on a transition screen
Validate filename
Validate extension
Pull request validation
Dates comparison
User conditions
Only the issue creator can close the issue.
Prevent the reporter from transitioning the issue (approval transition)
Linked issues
Prevent closing an issue if it has an โis blocked byโ issue linked
Prevent closing an epic until all its issues are done
Request type
Restricting issue creation
Restricting the creation of certain issue types based on the user's project role
Version without separate workflows
Field is required during a workflow transition for certain issue types
Jira Service Management
Validate fields specific to a request type
Last updated