How do I get component selected by user on edit/transition screen in script listener. I needs to get selected components on screen?
Thanks
In a Scriptrunner's script listener you can do the following
import com.atlassian.jira.component.ComponentAccessor
def components = event.issue.components // collection of ProjectComponent.class
def values = event.issue.components*.name // List of compoment's names
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.