Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Behaviour on Service Desk Customer Portal's multi-select list field

Jessie Chia
Contributor
March 19, 2018

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("")
}*/

1 answer

1 accepted

1 vote
Answer accepted
Joshua Yamdogo @ Adaptavist
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 19, 2018

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

Jessie Chia
Contributor
March 20, 2018

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!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events