Use Script with ScriptRunner to update Dropdown items in ConfiForm

Nico July 16, 2019

Hello

 

I have a ConfiForm, where a user can create an appointment. For this, the user has to give a time window, when the appointment should be held.

Now, based on this time window, the dropdown field should fill with the available meeting rooms, where no appointments are being held at this time.

 

Ok, our current approach is to write a groovy script, where you get the time window of the ConfiForm, make a REST call (We use the Microsoft Eschange WebSerivce) and the script returns all free meeting rooms.

The script works, with a hardcoded given time window.

 

Now, I want to ask, how I can connect my ConfiForm with this Script?

I know about ScriptRunner and I tested my Script in the Script Console, but as I said, I don't know how to connect my ConfiForm with the Script to exchange the needed data.

 

Thanks a lot

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events