Automation Actions plugin sample - What is AP?

On this page: https://developer.atlassian.com/cloud/jira/service-desk/automation-action/

There's a code sample at the bottom, which begins with:

$(function () {
    AP.require(["events"], function(events) { 
        var automation = new AP.jiraServiceDesk.Automation();

What is 'AP'? I can't find the definition even in the sample plugin that this comes from, link. This is causing difficulty in adding Automation Actions to my own plugin.

1 answer

1 accepted

Self-answer; it's from the Atlassian all.js that the plugin is installed on. So for a Cloud space at example.atlassian.net, the plugin requires example.atlassian.net/atlassian-connect/all-debug.js

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

203 views 0 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you