When assignee changes I change the value of a custom field by using Adaptavist scriptrunner (I parse the company part from user email). But I need the field not to be edited by the user (only the script should update the field content).
Is it possible to make something like below:
1- make field read-only false
2- update field value
3- make field read-only true
I searched com.atlassian.jira.issue package but no such method like setReadOnly(boolean)