---
title: "Restrict workflow transition to specific group - Cloud"
canonical: "https://support.appfire.com/space/CSOT/68748084/Restrict%20workflow%20transition%20to%20specific%20group%20-%20Cloud"
format: markdown
---
> Macro (aura-html)

# Description

There can be a scenario where a project workflow administrator wants to restrict a workflow transition in a project to a specific group of users. This can be achieved using *Conditioned Validator *provided by the Create on Transition for Jira Cloud app.

# Steps

|  |  |  |
| --- | --- | --- |
| ![image](media://635089e0-4604-45aa-ab02-58870a0303ec) | ## Step 1<br>As a Jira Administrator or Workflow Administrator:<br>1. Click the **Cog** icon to open the *Settings* menu and select **Issues**
2. Click **Workflows**
3. Navigate to your workflow and edit your workflow to create a draft version
4. Select the transition
5. Select the *Validators *tab.
6. Click* Add validator*
7. Select *Conditioned validator (Bob Swift)* validator and add | ![image](media://8e28db27-8b20-493a-b31c-ecc10b37fd41) |
| ![image](media://db0f7060-e0b6-4d6b-ac47-0fc80967ddef) | ## Step 2<br>Enter the following:<br>1. *Expression*: "user.groups.includes('administrators') && [issue.priority.id](http://issue.priority.id) == '1'". This expression permits the transition through to the next state only if the user is a member of the *Administrators *group and the issue priority is 1.
2. *Error Message*: "You must be a member of the 'administrators' group or issue priority must be 'Highest' to transition the workflow status."
3. Click the **Add** button to save your configuration. | ![image](media://c5a2f719-1a62-420a-862b-7087dff04c1e) |
| ![image](media://4a8e5098-c37e-42ab-88a5-0e0cb2200d10) | ## Step 3<br>1. Ensure to publish your workflow. It is always recommended to save a backup of the previous workflow when prompted.
2. Navigate to an issue
3. The transition of the respective issue results in an error if the validation fails. | ![image](media://b610a1ab-dfc8-467d-bfd8-90cacf2e954f) |