Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Atlasteam, Jira, plugin MyGroovy. Validator for
import com.atlassian.jira.component.ComponentAccessor
import com.opensymphony.workflow.InvalidInputException
def getCustomFieldValue(issue, Long fieldId) {
if (!getCustomFieldValue(issue, 10000)) {
throw new InvalidInputException("Please indicate the reason for the increased priority")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.