[All Adaptavist Apps]

Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

You can create a Behaviour as follows:

  1. Navigate to ScriptRunner → Behaviours.
    Upon opening the Behaviours page, you are presented with either a list of previously created Behaviours, or if you have not previously created any, you will see a landing screen.
    1. Click Create Behaviour from the previously created list. You can also Edit or Delete your selected Behaviour via the Actions ellipsis on this page.

      OR
    2. Click Create Behaviour from the initial landing screen if none have been previously created.
  2. Enter a name in the Behaviour name field.

  3. Check the Enabled Status option, as required. When set to Enabled, the behaviour is active as soon as it has been saved.
  4. Select the project to associate with the behaviour from the Projects drop down list.
  5. Select the type of issue you wish to use from the Issue Types drop down list.
  6. Click the Add Field button to choose fields you wish to include in the behaviour. You will see the Add Behaviour Field pop up window:

  7. Select the field from the Affected Field drop down list and click Next. You will now see the following screen:

  8. Enable the Events to run as either OnLoad or OnChange. If you would like to run the behaviour once then choose the OnLoad option, or if you would like to run it as the user is making changes in the Create panel then choose the OnChange option.
  9. Edit the code within the Script box, as required. You can also select an example script from the Examples drop down list.
  10. Click Save to confirm your configurations. You can also click the Back button to go back through your steps, or you can Cancel.










  • No labels