Versions Compared

Key

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

The Script action configuration type will execute a script where the live field has been configured (screens, projects, and issue types). Scripted actions support both JavaScript and TypeScript.

Add a live fields customization

Include Page
[Includes] Add a live field configuration
[Includes] Add a live field configuration
  1. Follow the steps below to complete your live field configuration.

Configure a Script action

The rule builder (Figure 1, right) is organized in a When-Then setup; the When section details where your configuration will be applied and the Then section contains the actual configurations. Follow the steps above to add a live fields configuration to your Jira instance, then follow these steps:

  1. For Screens, select which screen types should have your configuration applied - Issue create view, Issue view, and/or Issue transition view.

  2. For Projects, select which projects should have your configuration applied.

    1. Click Select projects and check the specific projects, or select Any.

    2. Click Add.

  3. For Issue types, select which issue types should have your configuration applied.

    1. Click Select issue types and check the specific issue types.

    2. Click Add.

  4. Select Scripted action under THEN. Click the Edit (blue star)button to open the script editor (Figure 2, right).

  5. Enter your script and click Save.

  6. Set the options for your configuration as needed:

    1. On load - Run the Scripted action when one of the selected Jira screens loads.

    2. On change - Run the Scripted action when the value of any field in the selected screens changes.

  7. Click Save.

Tip

Note: Use the Templates button in the upper right of the script editor to quickly create a configuration script!

You are viewing the documentation for Jira Cloud.

On this page

Table of Contents
minLevel1
maxLevel3
outlinefalse
styledefault
typelist
printabletrue

livefield-ScriptedAction.pnglivefield-ScriptedActionScriptEditor.png

Determining custom field IDs

Include Page
[Includes] Determining custom field IDs
[Includes] Determining custom field IDs