Jess Thompson
23 February 2023
ScriptRunner can do anything: now you can too
Find out more about HAPI: a simple way to leverage the awesome power of ScriptRunner for Jira Data Center and Server. It's human, intuitive, and can makes writing your scripts much quicker.
Earlier this year, we invited you to imagine a world where you could deliver advanced Jira customisations fast; without needing to know Atlassian APIs intricately, without having a million reference tabs open, and without needing to be a Groovy master.
A world where you could accelerate your teams’ digital transformation, become a Jira hero, and say yes to your beleaguered colleagues’ cries for help, without investing hours that you don’t have to upskill.
Today, we’re inviting you to step into that world.
There’s a new way to leverage the awesome power of ScriptRunner for Jira Data Center and Server, and it can make your scripts up to 70% shorter. Let’s find out more.
What is HAPI?
HAPI is a simplified, more human way to define your automations and customisations in Groovy (the scripting language most commonly found in ScriptRunner products) without yielding any of the bespoke capability that you love the tool for.
Now – instead of having 12 tabs open to achieve what you need – you can just start typing and let HAPI suggest what’s needed next. This is scripted automation built up in intuitive language, focused around use cases and Jira terminology, not around APIs.
Here is the script for creating a Jira issue written out in full Groovy, compared with the same task written out in HAPI.
It’s simple, readable code that feels natural, and there’s more magic hidden underneath, too.
The Robin to your Batman
HAPI helps you to deliver on advanced requirements in no time at all to heroically accelerate your teams’ digital transformation. How?
In addition to the easier-to-read formatting of HAPI, this major upgrade also provides suggestions and autocompletions as you type, making the experience of creating your automations faster and smoother than ever before, whether you’re an expert or a total beginner.
Your project keys, issue types, custom field values and more are at your fingertips, served up exactly when you need them, as you define what you want your script to do. HAPI frees Jira administrators from context switching and empowers you to become an automation hero without the steep learning curve.
Protector of processes, automator of everything
We know that Jira administrators come from a huge variety of different backgrounds and are often asked to wear lots of different hats in their role. It can be tough to find time to upskill on knowledge that you don’t already have, even if you know it will solve your headaches.
With HAPI, you no longer need to be a master of Groovy or Jira APIs to perfectly recreate your business processes in Jira.
If you already have ScriptRunner for Jira, you don’t need to do anything special (except upgrade to version 7.11.0+) to start benefiting from HAPI. It’s totally compatible with your existing Groovy scripts from day one. You don’t need to re-write your automations: you can adopt HAPI incrementally at your own pace.
O, HAPI day
HAPI is available now in ScriptRunner for Jira Data Center and Server, and we've pulled together some script snippets to get you started with this new approach to scripting in ScriptRunner.
One advanced preview webinar participant called it the best thing they’ve seen in their time as an admin, and that’s the kind of feedback that puts a spring in the ScriptRunner team’s step. We live to make your lives easier and can’t wait to hear what you think about HAPI and what you’d like to see next.
Ready to focus on your goal and let HAPI do the heavy-lifting?
Want to create conditional or complex automations and customisations using human, intuitive code and focus on what really matters instead?
What does the H stand for?
You can find out in our documentation, along with the full list of supported APIs.
P.S. We didn’t set out to create something which would reduce the memory drain caused by having 12 reference tabs open in your browser just to do one job; that’s just a happy bonus…!