Can you script a dynamic form using Groovy?

Hey Guys,

I have been reading about InTENSO plugins for dynamic forms, but I was wondering if I can get similar functionality using Groovy Scripts.

In particular, I want dynamic form behaviour during issue creation. This is opposed to how Groovy scripts are typically used during issue transitioning.

Lastly, the below integrations have been added to our system, could I get the same behaviour with any of these?


1 answer

Can you describe what you're trying to accomplish?

ScriptRunner offers Groovy Scripts for Field Behaviors, but this doens't work on the Service Desk Portal yet.

Definitely want to use this on the Service Desk Portal, so this may be futile for me :(

And I was specifically trying to show different custom fields depending on which radio button was selected.

My first idea was to use JavaScript, but the naming of custom fields are static products in the generated HTML, as opposed to some entry in a generic, dynamic data structure. Changing the order in which custom fields are displayed (hidden or visible), for example, can change their names and/or which HTML element encompasses them.

Should I just try to get these additional plugins?

Sorry but unfortunately that's the only easy option.

You could also consider writing Web Resource Plugin modules with your javascript via the plugin guide.

Thanks Steven!

I will definitely try to work my way from here :)

I actually learned that I will not be working with the Service Desk Portal at all, and would like to know if you have any additional references or ideas.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Feb 07, 2019 in Marketplace Apps

A Timeless Love Story

It started as any story starts, on a normal, rainy day.   Admin meets App, and her name was Klok2, and like any first relationship we were both trying to make it work but neither one knew what...

460 views 8 27
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you