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

This widget could not be displayed.

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
Community showcase
Published Friday in Jira

New 5k User Limit and Other Cloud Updates

Hi all! Lauren here from the Enterprise Cloud marketing team.  I have some exciting Cloud updates from #AtlassianSummit that I wanted to share. We want everyone in your organization to be ab...

85 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