Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I hide custom field with specified ID from all Field Configuration using Groovy?

lpopek August 23, 2018

I have a list of Field Configurations with different names. For each one I want to hide specified CF.  Is it possible to do it with Groovy? Thanks for answers 

1 answer

0 votes
Fabio Racobaldo _Herzum_
Community Champion
July 22, 2022

Hi @lpopek ,

you can do that using the following code :

def field = getFieldById("customfield_YOURIDHERE");

field.setHidden(true);

Hope this helps,

Fabio

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events