Skip to main content
Scripting on Jira Cloud is evolving with HAPI
Share on socials
Supercomputer ready to create unlimited automations, with HAPI written on it
A photograph of Andrei Cuzuioc, Senior Product Marketing Manager at ScriptRunner for Jira Cloud
Andrei Cuzuioc
22 January 2025
Jira
ScriptRunner for Jira
Cloud
Cloud icon

Scripting on Jira Cloud is evolving with HAPI

HAPI — your new scripting companion that makes Groovy scripting easier, faster and more intuitive — has landed in ScriptRunner for Jira Cloud.

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.
An illustration that shows the code for creating subtasks when issues are created both with and without HAPI sidekick, showing the difference in length and complexity of each set of code

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!