Hi,
I'm having issues hiding Custom field type "Message Custom Field (for Edit)" using Behaviours.
The following Behaviour server-side script does not hide the Message Custom Field (customfield_13517) on the Create screen:
def singleIssuePicker = getFieldById("customfield_13515")
def messageCustomField = getFieldById("customfield_13517")
def partnerAgreementCf = getFieldById("customfield_13514")
def optionValue = partnerAgreementCf.getValue().toString()
singleIssuePicker.setHidden(true)
messageCustomField.setHidden(true)
if (optionValue == 'Yes') {
singleIssuePicker.setHidden(false)
}
else if (optionValue == 'No') {
messageCustomField.setHidden(false)
}
I've tested a few other custom field types which hide OK. Is there a difference with the Message Custom Field field type that does not allow it to be hidden like other fields? Is it possible to hide this field type using another method?
JIRA Server 8.3.4
Scriptrunner 5.6.2.1-jira8
Thanks,
Andrew
update: if i put this text http://minerva:8083/rest/api/2/search?jql=project+%3d+FV+order+by+priority+desc&startAt=0&maxResults=25&expand=renderedFields
directly in the browser, i get a response...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.