Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to validate that Assignee is NOT a specific user

Asier Vadillo
Contributor
March 27, 2026

Hi everyone,

I’m trying to set up a workflow transition validation in Jira Cloud using only native functionalities.

The Goal: I want to prevent a transition from happening if:

  1. The Assignee field is empty (Unassigned).

  2. The Assignee is a specific user (e.g., a "Team" bot or a specific individual).

Thanks beforehand!

3 answers

1 vote
Laura Campbell
Community Champion
March 27, 2026

HI @Asier Vadillo , you can do this easily by adding a rule (I'm assuming Company managed project)

 

In the new workflow tool, click on Rule on the top

Screenshot 2026-03-27 at 16.15.28.png

 

To prevent that someone transitions the issue if the assignee is blank, you'll need to add a rule to Validate a field. You can easily select in the drop downs the value, and the field, and then a custom error message.

 

Add rule- validate a field for assignee.png

 

To prevent specific users from transitioning, you can also easily do it with the option to restrict the transition when a field is a specific value.

 

Prevent specific users from moving work item.png

 

Another way to do it would be to create a rule "Restrict who can move a work item"

Screenshot 2026-03-27 at 16.20.15.png

0 votes
Thiago Wenceslau -Appfire-
Contributor
March 31, 2026

Hi @Asier Vadillo

I’m Thiago, a support engineer at Appfire.

If you should consider using third-party apps, the JMWE(Jira Misc Workflow Extensions) can make such validation, here's an example:


Screenshot 2026-03-31 at 09.29.03.png



This workflow will restrict transition when the Assignee is not empty or the set accountId, where the accountId of the bot can be found easily through the nunjucks interface with "Lookup User".

!!issue.assignee && issue.assignee.accountId != "accountId:an-account-id"



Please contact our support if you have any other questions about this.


Best regards, Appfire support team.

0 votes
Gor Greyan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 27, 2026

Hi @Asier Vadillo

Thanks for the question.

Am I right that you want to set a validator on the transition, where the screen is being displayed, or do you want to set a restriction, if the assignee is empty or not a Bot, the transition is not being displayed at all?

Asier Vadillo
Contributor
March 29, 2026

Hi @Gor Greyan ,

I want a validator, to notify people that the assignee must not be the bot. If it is not possible I will use the approach @Laura Campbell defined in the comment above.

Thanks for the answer!

Like Gor Greyan likes this
Gor Greyan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 30, 2026

Hi @Asier Vadillo

Great, I saw it.

Thank you, too.

Asier Vadillo
Contributor
March 30, 2026

Hi @Gor Greyan

I assume it is not possible to make a validator?

Gor Greyan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 30, 2026

Dear @Asier Vadillo

Yes, via the Validator, this isn’t possible with native Jira Cloud functionality. Built-in validators can check if a field is empty or required, but they don’t support validating against a specific user.

For your use case, the only way to enforce this is via Automation (send back to the previous status) or by using any third-party apps, like ScriptRunner.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events