Hi, I have tried to implement Behaviour on a JIRA Service Desk (Server) form with a multi-select list but it does not seem to fire on selection. No problem on typical JIRA creation. Thanks in advanced!
import com.onresolve.jira.groovy.user.FieldBehaviours
import groovy.transform.BaseScript
@BaseScript FieldBehaviours fieldBehaviours
//def formField = getFieldById(getFieldChanged())
//String services = "," + formField.value + ","
getFieldById("description").setHelpText("HELLO") //<-- this never shows up on customer portal's form
/*if(services.contains("CCSVCCAT-529")) {
formField.setHelpText("Fire in the hole!")
} else {
formField.setHelpText("")
}*/
Jessie,
I would suggest taking a look at this open bug report: https://productsupport.adaptavist.com/browse/SRJIRA-2687
That bug prevents the use of behaviours on certain fields within Service Desk. I have implemented a fix for that bug in this issue: https://productsupport.adaptavist.com/browse/SRJIRA-2545
SRJIRA-2545 will add support for the commentLevel field in behaviours, but will also fix behaviours so that they can be used within the Service Desk portal on Select Lists, MultiSelects, Cascading Selects, RadioButtons, Checkbox fields etc.
You will need to upgrade to version 5.3.9 for this to work.
Thanks,
Josh
Thanks, Josh! Version 5.3.9 indeed resolved the issue I had with JIRA's multiselect custom field. I will keep an eye on the list of open bug reports too. Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.