Set Behaviour Hidden

Configure a ScriptRunner Behaviour to hide a field.


Jira Jira (7.7 - 8.6)

import com.atlassian.jira.issue.IssueFieldConstants import com.onresolve.jira.groovy.user.FieldBehaviours import groovy.transform.BaseScript @BaseScript FieldBehaviours fieldBehaviours final String fieldName = "TextField" // get field by name and hide it getFieldByName(fieldName).setHidden(true) // get a filed by id and hide it getFieldById(IssueFieldConstants.DESCRIPTION).setHidden(true)
Discovered an issue? Report it here

Suggested for you