Configuration - gini/youtrack-githook GitHub Wiki

The YouTrack webhook does not really run out of the box. First, you have to edit the configuration file settings.cfg. Alternatively, you can use the environment variable GITHOOK_SETTINGS to point to some other configuration file.

The configuration variables are as following:

Variable name Meaning
YOUTRACK_URL The URL to YouTrack
YOUTRACK_USERNAME YouTrack login that the webhook will use (must be an admin)
YOUTRACK_PASSWORD YouTrack password
YOUTRACK_APIKEY Can be left empty (see http://youtrack.jetbrains.com/issue/JT-15947)
DEFAULT_USER Default login. Will be used if the webhook can't find the YouTrack login of the author of a commit. Likely the same as YOUTRACK_USERNAME.
REGEX The regular expression to check for referenced issues. Does not need to be changed in most cases.