Hi All,
I am trying to create a groovy script that should be able to change the context of custom fields. I wanted to change the context of only those custom fields which are not marked as locked.
Can anyone please help me with this and tell me which all classes and methods we can use for fetching all the custom fields and filter out fields marked as locked.
Hello @[deleted]
Welcome to the community.
Generally a locked custom field is one that has been created by a plug-in or native Jira functionality which will depend on the configuration of that field remaining unchanged. Because of that, you should not be changing the configuration of that field. Changes may break Jira or Jira plug-in functionality.
Why are you trying to change the context of a locked field?
Hello @Trudy Claspill
Thanks for your response, I don't want to change the context of locked custom fields, I want to filter them out so that the script which I am using for changing the context of the custom fields will filter the fields marked as locked and won't make any changes in those fields.
So is any possible way to filter the locked custom fields from the list of all custom fields?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.