What is it?
An AI-powered assistant to help you create Behaviours for use inside ScriptRunner for Jira Cloud.
Describe what you need in simple English, and the Behaviours generator will effortlessly craft the right script for you.
Why build it?
from Jamie Echlin, Principal Engineer
The Behaviours bot represents a complete rethink in the way we ask users to write behaviour scripts. We try to bring everything you need to your fingertips. You'll often need custom field and option IDs, so we make them visible right there in the previewer.
We've designed this in the way we'd want it if we were the user… for example, we tried to make the feedback loop as tight as possible. When you change the code, it will run immediately, and you will see the results in the feedback panel, plus visual cues if it succeeded (or failed).
And then, obviously… there is AI. Large Language Models seem to be an excellent fit for some ScriptRunner tasks, as they tend to be small, self-contained problem spaces. For example, the API for behaviours in Cloud is only a few handfuls of methods. Of course, sometimes it produces incorrect code, but, I still remain impressed when it produces a script that works right off the bat.
I originally wrote Behaviours for Jira (server) back in 2009: that is to say, I know how to write Behaviours scripts. But I'd struggle to do something like "Set the description field to a bullet list of the 5 most recently created issues assigned to me. Each bullet should be the issue key and summary". However, this tool handles that task with aplomb (usually).
For me this is the one of the areas of potential for generative AI: it can take the drudgery out of these everyday tasks.
Ready to create Behaviours faster than ever?
For each response you can give a thumbs up (or a thumbs down if it didn't work out so well and tell us what you were expecting instead). Please do so, it will help us to improve!
Jamie Echlin
Sign up to be notified of new Leap creations
What is ScriptRunner Leap?
A new brand from the brains that brought you ScriptRunner, ScriptRunner Leap is here to shake things up. It's a playground for innovation and exploration, a space where we can push the boundaries of what’s possible together.