Skip navigation links

Package com.atlassian.jira.workflow.validator

JIRA Workflow Validators

See: Description

Package com.atlassian.jira.workflow.validator Description

JIRA Workflow Validators

Validators check the user's input on a transition for validity (different from Conditions, which prevent actions from displaying altogether). For a more detailed description, see the JIRA documentation.

Validators have one method to implement, validate(). validate(java.util.Map, java.util.Map, com.opensymphony.module.propertyset.PropertySet).

The contents of 'transientVars' varies depending on which workflow action triggered the transition. Most variables are set by the OSWorkflow engine, and documented here. When creating an issue (CreateIssueDetails), the following additional variables are set:

the Issue Issue currently being transitioned
issue's project key - useful for making a validation somehow project-specific (eg. project-specific group membership)
Skip navigation links

Copyright © 2002-2017 Atlassian. All Rights Reserved.