Hello,
We have a plugin Issue Templates plugin. There is a field (capabilities) related to that plugin which lists all the templates into that field.
I wanted to hide that field based on select field value. But unfortunately I am unable to do so where the same script works with other custom field.
https://marketplace.atlassian.com/apps/1211044/issue-templates-for-jira?hosting=server&tab=overview
Script I used :
import com.onresolve.jira.groovy.user.FormField
FormField requestType = getFieldById("customfield_13600")
FormField party = getFieldById("customfield_10721")
FormField capabilities = getFieldById("customfield_12603")
if (requestType.getValue() == "Activation")
{
capabilities.setHidden(false)
party.setHidden(false)
}
else
{
capabilities.setHidden(true)
party.setHidden(true)
}