PERFORCE
See perforce hooks scripts example here https://bitbucket.org/scmenthusiast/jira-scm-activity-scripts/src/master/triggers/perforce/
SUBVERSION
See perforce hooks scripts example here https://bitbucket.org/scmenthusiast/jira-scm-activity-scripts/src/master/triggers/subversion
GIT
See perforce hooks scripts example here https://bitbucket.org/scmenthusiast/jira-scm-activity-scripts/src/master/triggers/git .
EXTERNAL JOB LINKS SCRIPT DEMO
See this script example here https://bitbucket.org/scmenthusiast/jira-scm-activity-scripts/src/master/triggers/joblinks
GERRIT
See Gerrit hook scripts example here https://bitbucket.org/scmenthusiast/jira-scm-activity-scripts/src/master/triggers/gerrit
COLLABORATOR
See Collaborator hook scripts example here https://bitbucket.org/scmenthusiast/jira-scm-activity-scripts/src/master/triggers/coco