Hi All,
I have two custom fields called "cf1 and cf2" . The ask is make cf2 read only and it should update depending on cf1 single select options. Please help me to address this situation. I'm a new bee to the scripting part.
Hi @kk4065896
It needs a plugin to achieve the requirement - Scriptrunner!!
Here's an example of how to do that
def fruits = getFieldById(getFieldChanged()).getValue().toString()getFieldById("customfield_10403").setFormValue(fruits);getFieldById("customfield_10403").setReadOnly(true)
Let me know if you have any queries
Thanks,Pramodh
It looks like you're new here. Sign in or register to get started.