Forums

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

validators

Christopher Barron December 8, 2022

What are how do you use validators in Jira? What are some examples scripts that I to get the most out of them? 

1 answer

1 accepted

1 vote
Answer accepted
Mikael Sandberg
Community Champion
December 8, 2022

Hi @Christopher Barron,

Welcome to Atlassian Community!

Validators are used in the workflow to validate if certain conditions have been fulfilled before transitioning the issue, for example make fields required, check if a field has been changed etc. You can find the default validators here. The default validators do not have a script option, so you would need an app that extends the validators to do that, like scriptrunner.

Christopher Barron December 8, 2022

Thx for the responds. I saw in the link that you provided that you can also use validators for permissions.  How would that work?  I have users should or shouldn't have certain permissions.

Mikael Sandberg
Community Champion
December 8, 2022

The permission validator is based on the permission scheme, so it validates that the user has a specific permission, like Edit issues. You can learn more about each permission here. Note that these permissions only applies to company-managed projects.

Suggest an answer

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

Atlassian Community Events