Skip to main content

2 min read

Dynamic Forms is now available for Bitbucket

Dynamic forms

The Dynamic Forms feature is now available for Bitbucket!

Beloved by ScriptRunner for Jira users, the Dynamic Forms feature has landed at last in ScriptRunner for Bitbucket Server and Data Center. It allows users to easily adapt, share, and reuse complex scripts in a simple, no-code interface.

Giving ScriptRunner’s incredible power to your engineering teams can help them move quicker, follow processes more efficiently, and deliver more stable and consistent releases. Still, not everyone is a pro when it comes to writing Groovy scripts. How can you give them access to incredible automation without needing to upskill them? Dynamic forms have the answer, and they’re now available in ScriptRunner for Bitbucket.

The greatest power of ScriptRunner is its unlimited opportunities to create deep customisation and automation using in-line Groovy scripts. However, giving access to this capability in some teams isn’t always possible or appropriate. It may be a question of skill, a question of time, or a question of regulatory control. Many users find it challenging to create Groovy scripts from scratch, not to mention storing and maintaining what they make. As with all good CI/CD processes, this is where centralisation and standardisation come in, and Dynamic Forms allows admins to set up automations that users can easily configure without laying a hand on the underlying code.

Dynamic Forms for Bitbucket: how does it work?

The newest feature in ScriptRunner for Bitbucket allows the addition of flexible variables to scripts that can then be shared with multiple users in a non-coders friendly format. All they need to do is input their variables into — you guessed it — a form and click ‘Run’. Watch Dynamic Forms in action:

How can I use Dynamic Forms to empower my team?

Dynamic Forms allows you to add your variables as dynamic script annotations in the scripts instead of hardcoding them. Imagine you've created a new branch, and now you want to inform your teammates. Sometimes it's easy to forget when you have a lot on your plate, so you can use a Dynamic Form to effortlessly add the script that can post a message on a Slack channel when a branch is created. By default, this script will post a notification for any new branch, but you can optionally ignore specific branch prefixes.

How can I share scripts centrally using Dynamic Forms?

And remember, you can not only edit your script quickly but also store it in one centralised location and add annotations to explain their intended usage within the specific context of your organisation or team.

Find out more about how to add dynamic script annotations in our documentation.

Tell us what you think.

We love hearing how you’re using what we create for ScriptRunner for Bitbucket—and what we’re missing. Please share your suggestions and opinions about Dynamic Forms via our support

Want to explore further? Try ScriptRunner for free for 30 days

If you haven’t experienced the full power of ScriptRunner for Bitbucket yet, get a 30-day free trial here: Try ScriptRunner for Bitbucket now.


About the authors

Natalia Chebotareva

Natalia Chebotareva

Natalia is Product Marketing Manager for ScriptRunner for Bitbucket & Bamboo, Microscope, and Adaptavist's Scripting Service.