I want pass Priorityname and get Priority object?Is there any way to get priority using Priority name as parameter?
Hello @Ramesh Lakshmanasamy
Like this
import com.atlassian.jira.component.ComponentAccessorimport com.atlassian.jira.issue.priority.Prioritydef constantsManager = ComponentAccessor.getConstantsManager()Priority priority = constantsManager.getPriorities().find {it.name == "High"}
It looks like you're new here. Sign in or register to get started.