Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

We have added many great features in Power Scripts for JIRA 4.0 (formerly known as JJUPIN), from the introduction of new features to the change of others. Although we have changed the internal architecture of our plugins suite, we of course kept the backward compatibility with SIL. As you will see, we have also redesigned all administration pages making them aligned to the Atlassian guidelines. 

Contents

Table of Contents

Updated to work with Simple Issue Language 4.0.

We maintained the backward compatibility with SIL. We have also updated Power Scripts for JIRA in order to let you use all the goodies that SIL 4.0 brings.

Licensing

So far we used to disable our plugins when the license expired. In order to make sure that your JIRA installation is safe even if you forget to buy or change your license, in Power Scripts for JIRA 4.0 we let the runtime execute your scripts as configured, however, the configuration and administration pages will be disabled. 

Power Scripts for JIRA Agile & JIRA Service Desk

We have incorporated the JJUPIN Agile support in Power Scripts for JIRA (formerly known as JJUPIN). This way, you can use all the routines from JIRA Agile without any additional purchase. Also, the support we had for JIRA Service Desk has been incorporated as well. At the moment we have only little support for JSD. We know that you want to have more and more routines and Live Fields support, and we'll try to do this in the near future.

Mail Handler

You can now process incoming mail using SIL scripts. 

Image Removed

A simple example on how you can parse an email is this one:

Code Block
IncomingEmail mail = getIncomingEmail();

string issueKey = matchText(mail.subject, "[A-Z][A-Z]+-[0-9]+");
if(isNull(issueKey)) {
        string [] fields = {};
        fields += {"reporter", currentUserKey()};
        fields += {"assignee", getUserByEmail(mail.cc[0]).key};

        string k = createIssue("TEST", "", "Task", mail.subject, "Minor", mail.body, {}, "", "", 0, fields);
        attachAllFilesFromEmail(k);
        %k%.watchers = getUserKeysFromEmails(mail.cc);
} else {
        addComment(issueKey, currentUserKey(), mail.body);
}


Scheduler & Services 

We have removed standard services from Power Scripts for JIRA 4.0 - all your scripts will be migrated to the scheduler, since it provides a more flexible mechanism. 

The new scheduler does now keep the jobs alive across JIRA restarts, like the SIL services did before.

SIL Listeners

Power Scripts for JIRA 4.0 comes with even more versatile listeners. You can now configure multiple listeners for the same event or multiple events mapped on the same listener and re-order the execution of the scripts.

SIL JQL

Long awaited, this JQL functionality opens wide new possibilities for users. Take a look at a few simple JQL examples are below:

Code Block
key in silJQLExpression('not elementExists(watchers, reporter)', 'project = TEST')

project = TEST and key in silJQLExpression('reporter == assignee', '')

For simple filters you can use boolean expressions, no matter how complicated. 

For more general searches you have to use two or more JQL functions, namely 'silJQL(silfile, params ...)', returning a single result (such as you can use it with =, ~, ...), and 'silJQLList(silfile, params ...)' returning multiple results (operators 'in', ...). These two can be used to dynamically return priorities, components, and so on.

Start/Stop Scripts

As you may know, we already had a start up script mechanism in our older versions of Power Scripts for JIRA. Starting with version 4.0, we have also added a stop script, which thanks to the integration with JJupin Agile, can also be used with JIRA Agile routines. On the older versions this was not possible because the start (and now stop) sequence would have JJupin Agile plugin disabled before the script was executed.

Workflow Viewer

The workflow viewer screen has been simplified. You are now able to see how the screens will look like for a given issue type.

Changes In KATL-COMMONS

These changes are explained in depth here. However, we'll review the main changes quickly here as well:

...

Warning

Looking for the documentation on the newest versions of Power Scripts for Jira 8 for Server/Data Center? Click here !

Include Page
What's new in Power Scripts™ for Jira 4.5.0
What's new in Power Scripts™ for Jira 4.5.0

Also See