Hi,
How to write scripted field code to get parent value and show it in subTask. My field type is cascade select list field.
ex: Support Tools ( values like ) Atlassian - Jira
confluence
Rational - CC
CQ
so If I select Atlassian and Jira then that value should show in subtask as 2 different scripted field (Parent_A and Parent_B). How to write this code in scripted field ?
Thanks,
Om
import com.atlassian.jira.component.ComponentAccessor
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def parentValue_A = customFieldManager.getCustomFieldObject(11002).getValue(issue.getParentObject()).value.toString()
return parentValue_A
do the same with ParentValue_B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.