An automation clones an issue from a JSM project to a Jira Software project that is selected from a field entered by the user, and adds the new issue to a sprint. The automation also adds the new issue to sprints in various projects depending on conditions, The automation is in the JSM project, but could be changed to global.
Can an notification component be added to each condition of the automation, sending an email to the assignee of the new Jira Software project? If so, I haven't been able to figure out how.
Alternatively, can a global automation be created in Jira Software, with the trigger "Issue created" or "Value changes for Sprint", that sends the emails?
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.