Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuikoaleksandr/082f1f9a6197750d1ec25ae5d8333b3e to your computer and use it in GitHub Desktop.
Save chuikoaleksandr/082f1f9a6197750d1ec25ae5d8333b3e to your computer and use it in GitHub Desktop.
Atlasteam, Jira, plugin MyGroovy. Validator for https://gist.github.com/chuikoaleksandr/9daec1fcf030cf3f61e48f329a09c270
import com.opensymphony.workflow.InvalidInputException
if (issue.type.id in [10000]) {
throw new InvalidInputException("Not valid issue type")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment