Hi all,
I hope someone can help. Here is what we are trying to accomplish. I was asked to make the field Components selectable based upon a custom field value called product.
Here was my proposal:
- Add a new cascading select field called product-component with product as the first choice and then the various component choices
- In a post function copy the second of the cascading list component to components
- in another post function copy the top value of the cascading list to product
Everything works except 3. I have tried a basic copy, then I tried Update Issue Custom Field with the following values:
Try2: ${issue.customfield_13502.toString()}
Try3: ${issue.cfValues['product-component']*.value} or ${issue.cfValues['customfield_13502']*.value}
Try4: ${issue.getCustomFieldValue(getCustomFieldObjectByName("customfield_13502"))}
Try5: ${issue.getCustomFieldValue("customfield_13502")}
try 6: ${issue.getCustomFieldValue(customfield_13502)} or $issue.getCustomFieldValue(product-component)
try 7: ${issue.product-component} or ${issue.customfield_13502:1}
None of which worked
Does anyone know how I could get the value from the top part of a cascading select list called product-component (customfield_13502) into another select list custom field? I will ensure that the first part of product-component has exact values of the customer single select list called product.
Thanks!!!
Robert