Skip to content

Instantly share code, notes, and snippets.

View rodrigok's full-sized avatar

Rodrigo Nascimento rodrigok

View GitHub Profile
@alexandrezia
alexandrezia / rocketchat-jira.js
Last active December 11, 2020 08:45
Rocket.Chat - Jira webhook
/*
Alexandre Zia
Credits:
This script adds functionality to the original code
Original code from: Jonathan Gotti (malko) : https://github.com/malko/rocketchat-jira-hook/blob/master/jira-rocketchat-hook.js
*/
/*jshint esnext:true*/
#!/bin/bash
domain=$1
port=$2
if [ -z "$domain" ] || [ -z "$port" ]; then
echo "Usage: domain-alias <domain> <port>"
exit 1
fi