Hi Team,
I want hide a text field depending on the value of select list field. written a below script but not getting expected output.
Can you please check and let me know where I am wrong:
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.security.roles.ProjectRoleManager
def textField = getFieldById("customfield_22695")
def selectList = getFieldById("customfield_22694")
def selectListValue = selectList.getValue()
if (selectListValue == "None")
{
textField.setHidden(true)
}
else
{
textField.setHidden(false)
}
Try to pass 3 parameters as it is in the documentation
issueFunction in issueFieldMatch("","summary","|(FLDI)|$")
According to the DOC It does.
http://scriptrunner-docs.connect.adaptavist.com/jiracloud/enhanced-search.html#_others
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.