Unlock effortless scripting with HAPI’s new feature
Ready to take HAPI to the next level? Discover HAPI’s new autocomplete feature in ScriptRunner for Jira Cloud.
HAPI—your go-to scripting companion—was introduced to your Jira Cloud instance earlier this year, and now we’re kicking it up a gear with a powerful new enhancement that makes scripting even more efficient and accessible for everyone, from admins to consultants.
What's new in HAPI?
HAPI now enhances its intuitive autocomplete suggestions as you type to include contextually relevant data from Jira, so your automation and customisation processes run faster and smoother than ever before.
For example, you will no longer need to memorise or search for project keys, issue types or custom field values. HAPI provides you with a list of options for project keys, issue types, or custom field values, right at your fingertips, exactly when you need them as you define what you want your script to do.
Want to see it in action? Watch this short video from ScriptRunner Engineering Lead, Niko Nedoklanov, as he guides you through this latest HAPI enhancement, complete with practical use cases.
Want to see it in action? Watch this short video from ScriptRunner Engineering Lead, Niko Nedoklanov, as he guides you through this latest HAPI enhancement, complete with practical use cases.
Ready to try the new HAPI?
Let HAPI handle the heavy lifting so you can concentrate on what really matters. Now all users, regardless of their familiarity with the Jira API, are empowered to script with confidence and ease, with minimal barriers to entry. HAPI and autocomplete is available now. Learn how to get started in the HAPI documentation.
What is HAPI?
Introducing HAPI: your scripting companion that makes automations and customisations in Groovy feel like a breeze.
HAPI offers a more human, intuitive scripting experience that can make writing your scripts much faster, and even up to 70% shorter! Get ready to write code the way you think, without translating into Jira’s logic.
Meet your scripting sidekick
Contrary to popular belief, scripting doesn't have to be a daunting task! It's a technique to express your business requirements and HAPI can greatly streamline this process. Using features like autocomplete and step-by-step guidance, HAPI makes scripting a more approachable and manageable task.
HAPI remains rooted in Groovy, so while it's necessary to learn some Groovy basics, it considerably lessens the learning curve. With HAPI, mastery of Groovy or Jira APIs is no longer a prerequisite to flawlessly mirror your business processes.
HAPI is designed to make code feel like a conversation. It shifts the burden of working with Atlassian’s APIs from customers and empowers them to concentrate on achieving their objectives, rather than dealing with the intricacies of Jira’s mechanics.
Nikola Nedoklanov
ScriptRunner Engineering Team Lead
More intuitive scripting
- Simplicity at its core: HAPI transforms your scripts, making them up to 70% shorter and infinitely more readable.
- Intuitive by design: Scripting feels natural, with a focus on use cases and Jira terminology, rather than perplexing APIs. Simply describe what you want, and HAPI translates for you.
- Empowerment for all: Whether you're a seasoned coder or a beginner getting started with automation, HAPI levels the playing field. Now anyone with a grasp of basic Groovy fundamentals can create complex automations.

The first chapter
With this first release, you can use HAPI to:
- Create issues
- Update issues
- Search for issues
- Transition issues
- Work with projects
- Work with groups
- Work with users
- Update fields
More actions are supported for each of the above use cases. Read more about HAPI and everything that is supported in this first release in our documentation.
And this is just the beginning: we’re working on bringing you even more use cases and an even smoother scripting experience, as we work to align the capabilities of HAPI on Cloud with the robust functionality found in HAPI on Data Center.
Getting started with HAPI
To get started with HAPI, take a look at the introduction videos below.
1. Introduction to HAPI
2. Creating a new script using HAPI
3. Recreating an existing script using HAPI
I would say it's extremely helpful. HAPI makes scripting more available both to experienced admins like me, but also to people who want to get into it and want to start scripting.
ScriptRunner customer
HAPI is ready to enhance the way you work, putting the power to create, innovate, and automate in your hands. Your journey towards efficiency starts now!