getCustomFieldObjectByName method is deprecated, Need to modify the scripts to use getCustomFieldObjectsByName method.
After using getCustomFieldObjectsByName(String) it removes warning but it throws error in other line which is shown below
Help me with fixing the warnings without any errors?
There are a load of scripts that show you how to work with custom fields in the Library. Have a look at https://library.adaptavist.com/search?page=1&products=jira&term=custom%20field for one that is close to what you want to do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.