Populate Request Participants using Behaviour script in JSD Agent view

Kapil Bolli
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.
August 6, 2020

Hello All,

I am trying to pre-populate request participants field in a transition screen using Behaviours script on certain conditions.

I have tried different options on setFormValue --> String, Array, ArrayList, ApplicationUser , list of ApplicationUsers. But none of them worked.

def formField= getFieldById("customfield_10000")

eg: formField.setFormValue(["user1"])

 

We can set the participants field in Postfunctions using scriptrunner, but I want pre-populate and allow the users to modify if required on a transition screen

 

Thanks

Kapil Bolli

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.7.1
TAGS
AUG Leaders

Atlassian Community Events