...
This validator can be used to perform validation with a Jira expression. Based on the result of the expression, the user is either allowed or blocked to transition to the destination status.
Sample use cases:
...
Expand |
---|
title | Click here for the steps to configure |
---|
|
|
Prevent the user from approving a hardware request if the respective hardware (count stored in a custom field) is out of stock
Expand |
---|
title | Click here for the steps to configure |
---|
|
|
Prevent the employee from applying for a leave if the employee is in the 3 month probation period
Expand |
---|
title | Click here for the steps to configure |
---|
|
|
...
Expand |
---|
title | Click here for the steps to configure |
---|
|
|
...
This validator can be used to conditionally perform a validation to ensure that the specified field has a value during a transition.
Sample use cases:
...
Force users to provide Fix Version/s only when
...
the
...
resolution is Fixed
Expand |
---|
title | Click here for the steps to configure |
---|
|
|
Prevent the user from progressing on the Bug it is not assigned
...
Expand |
---|
title | Click here for the steps to configure |
---|
|
Add the Linked Issue validator to the Create transition. Select the issue link type is Subtask of from the Issue Link Type field. Select the issue type Story from the Issue Type field. Select the option "Every linked issue must satisfy the condition below" Input the Jira expression: Code Block |
---|
!!issue.parent && issue.parent.subtasks.length < 65 |
Add the error message, "You cannot create more than 5 subtasks "
|
...
Expand |
---|
title | Click here for the steps to configure |
---|
|
Add the Linked issues status validator to the Close Closed transition. Select the issue link type is Epic of from the Issue Link Type field. Select the statuses the linked issues must be in, “Closed” status from Statuses Add the error message, "The Stories of the Epic are not yet resolved "
|
...