JIRA Service Desk (Server)
I have defined a behaviour to populate a text field with values from a REST endpoint.
Works fine when creating a standard JIRA ticket, but Service Desk fails to populate the field.
getFieldByName("Software Application").convertToSingleSelect([
ajaxOptions: [
url : getBaseUrl() + "/rest/scriptrunner/latest/custom/sccmApplicationsQuery",
query: true,
minQueryLength: 0,
keyInputPeriod: 500,
formatResponse: "general",
]
])
JS error
[SR Behaviours] Error retrieving validators TypeError: Cannot read property 'extend' of undefined
at Object.a (batch.js?locale=en-AU&sd_operational=true:formatted:29340)
at t.e.addFieldListeners (batch.js?locale=en-AU&sd_operational=true:formatted:28187)
at batch.js?locale=en-AU&sd_operational=true:formatted:28403
I'm able to set other properties on the field as per fix in https://productsupport.adaptavist.com/browse/SRJIRA-2545
e.g.
Hi Luke,
Just ran into same issue. Did you figure this out?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.