Jira expression condition/validator (use cases)

The Jira expression condition/validator uses the powerful Jira expressions, a feature which is currently a Cloud Only feature provided by Atlassian.

πŸ“š Use cases

Use case Workflow function Use case description
Check whether an attachment was added during the transition.

Jira expression condition

Jira expression validator

Make sure that the current user has uploaded a attachment during the transition. 

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Check if an attachment was added recently

Jira expression condition

Jira expression validator

Make sure that the current user has uploaded a attachment during a definite period of time.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Make a field required only for stories

Jira expression condition

Jira expression validator

Make a field required to enable a transition only for issues with the story issue type.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Block a transition if some issues under an epic are not in a certain status

Jira expression condition

Jira expression validator

Check whether an epic has all issues under it in a certain status.

This is particularly important if you want to block an epic as long as work is still being done on related sub-tasks.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Validate worklogs

Jira expression condition

Jira expression validator

Evaluate if a user has logged more than a certain amount of time in the latest worklog.


Evaluate the Parent field

Jira expression condition

Jira expression validator

Evaluate different values of the issue in the Parent Link field of the transitioned issue.

This use case is valid for both conditions and validators . The only difference is that you can specify an additional error message when using a validator.

Validate an issue only if a comment is written during the transition

Jira expression validator

Evaluate the comments and block transitions based on the outcome.

This use case is only valid for validators as it involves making changes during a transition. An additional error message can be added.

Block a transition if the type of the attached files is incorrect

Jira expression condition

Jira expression validator

Evaluate the type of files in the Attachments field.

This use case is valid for both conditions and validators . The only difference is that you can specify an additional error message when using a validator.

Make values required in a Select List (cascading) field

Jira expression condition

Jira expression validator

Check whether a Select List (cascading) field has a value in the transitioned issue.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.

Block a transition based on sprint information

Jira expression condition

Jira expression validator

Make sure that an issue is not in an active sprint.

This use case is valid for both conditions and validators . The only difference is that you can specify an additional error message when using a validator.

Evaluate the user

Jira expression condition

Jira expression validator

Evaluate users and hide transitions based on the outcome.

This use case is valid for both conditions and validators . The only difference is that you can specify an additional error message when using a validator.