Last active
August 13, 2025 14:20
-
-
Save mwhagedorn/af4521acb263c0e416b4684b17bbf2d7 to your computer and use it in GitHub Desktop.
Create slack/teams notification for issue reviews
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fs_notify() { | |
| if [[ -z "$1" ]]; then | |
| echo "Usage: fs_notify ICN-19379" | |
| return 1 | |
| fi | |
| local ticket="$1" | |
| local issue_url="https://icapitalnetwork.atlassian.net/browse/${ticket}" | |
| # Convert ticket to lowercase for FS URL | |
| local fs_ticket=$(echo "${ticket}" | tr '[:upper:]' '[:lower:]') | |
| local fs_url="https://${fs_ticket}.stg.icapitalnetwork.com/login" | |
| local message="Issue: ${issue_url} is ready for FS testing at ${fs_url}" | |
| echo "$message" | pbcopy | |
| echo "✅ Copied to clipboard:" | |
| echo "$message" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment