Versions Compared

Key

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

Looking for the documentation on the newest versions of Power Actions for Jira 8? Click here and leave these dusty old pages behind!

Power Actions wizard is implemented as a list of steps that start from the main button. You can configure them on the custom field configuration page.

...

  • edit the scripts – condition, screen, and action
  • change the description
  • rename it
  • add or remove a step
  • reorder the steps to suit your needs. 

Adding new steps

In order to add a new step, click the Add Next Step button (the "+" icon) for the needed button. A new line with a step is added to the configuration table. 

...

For each step you can also configure the scripts.

Note
You can reorder the steps within a button, but the step names will always retain the current position of the step.

Configuring a step

The condition script for a step is similar to the one for a button, you can decide whether an action should be available for the user or not. By default, when you add a new action, it will have the following default condition script.

...

Of course, with the help of Simple Issue Language (SIL), the return value of the script can be conditional.

Code Block
number ENABLED = 1;
number DISABLED = 2;
number HIDDEN = 3;
 
if(<some_condition>){
    return ENABLED;
}
if(<some_other_condition>){
    return DISABLED;
}
return HIDDEN;

Sharing values between wizard screens

You can configure a wizard so that certain values on the wizard screen depend on other values from another screens. For this we implemented additional routines that help with the sharing mechanism.

See also