Versions Compared

Key

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

Table of Contents

Administrators

Installing the plugin

Project Creator for JIRA is available through the Atlassian Marketplace. Install it through the Universal Plugin Manager in JIRA.

Configuration of addon

In the administration area of Stash, click on Javascript Hooks to get to the global configuration area for Javascript Hooks for Stash. From this screen the administrator can configure the available hook actions to the script writers.

 

Configuration itemDescriptionDefault value
Script timeoutHow long a script can run for before being stopped 
Enable HTTPCan the javascript make http calls to remote serversEnabled
HTTP Connection timeout  
Http Socket timeout  
Enable external commandsCan the javascript shell out and execute a command on the command line as the stash userDisabled
External command timeoutHow long to wait for a command to run before attempting to kill it

3000ms

Enable EmailCan the javascript trigger emails to be sent?Enabled
Email subject prefixA prefix for the subject line for any emails sentNone

 

User's guide

 

Enabling JS Hooks for a repository

 

Writing a Javascript hook

 

Troubleshooting