com.atlassian.jira.pageobjects.pages package does not exist
Hello @Ramesh Lakshmanasamy
What are you tryin to achieve with this package?
I need to get Priority using priority name.So i am trying to get Priority.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this:
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.priority.Priority
def constantsManager = ComponentAccessor.getConstantsManager()
Priority priority = constantsManager.getPriorities().find {it.name == "Low"} // low - priority name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mark Markov getPriorities() method not avail in priority package that is config package right and also we cant pass parameter in above method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.