An OSWorkflow validator that validates a given permission is correct.
since 3.5.2 use
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:
Copyright © 2002-2017 Atlassian. All Rights Reserved.