Validator for specific issue type

As far as I can see a validator for a workflow transition always executes regardless of the issue type. Is it possible to execute a validation only for specific issue types?

2 answers

1 vote

If you associate different workflows with different issue types, then you can have different validators for them.

A validator always checks on a transition though, so if you want one workflow that behaves differently according to issue type, you'll need code, as you'll want to include "check issue type" as part of the validator.

Different workflows creates a lot of maintenance. We already have several projects based on SCRUM in which we try to keep the workflow as general as possible. 

If we "code" a custom validator, can we use that in the Cloud version? Do you have any references for a documentation on how to do this?


Coding is heavily limited in Cloud - there's no add-ons that I know of that can do conditions coding really. 


AFAIK, you need "Script Validator --> Simple Script Validator"

if( == 'Bug' || == 'Enhancement'){
(Your code)



From which add-on?

I ask because there's several.  Also, ScriptRunner is not (yet) for Cloud, as tagged in the question.  Although I should have said that earlier.

We run JIRA in the cloud. ScriptRunner is not available. Any other add-ons which can do this in the cloud?

Sorry guys, I am not aware of the JIRA cloud.

Not only Cloud, Script Runner has a potential risk about security. Admin guys can use this plugin to fake user, no log to trace back. That's why I have to uninstall it on my JIRA server.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,268 views 14 20
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot