Cascading select list first value equal to
It doesn't work...
Jira Software 8.3.0
5.5.9.1-jira8
cfValues['customfield_500231424']?.get(null)?.value == 'YES'
How do I move a script?
I would appreciate it if you could let me know how to specify custom fields by ID.
Hi @nobuaki iwata ,
Type casting is failing. can you please refer below code.
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.MutableIssue
import com.opensymphony.workflow.InvalidInputException
def issue = issue as MutableIssue
def cf = ComponentAccessor.customFieldManager.getCustomFieldObjectByName("CascadingSelect")
def cfValue = issue.getCustomFieldValue(cf) as HashMap
def parentOption = cfValue.values().getAt(0)?.value
def childOption = cfValue.values().getAt(1)?.value
refer
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.