#!/bin/bash # Prompt the user for the Jira ID read -p "Enter Jira ID (e.g., APP-123): " jira_id # Prompt the user for the Title read -p "Enter Title: " title # Define the filename based on the Jira ID filename="${jira_id}.md" # Create the file and write the formatted template cat << EOF > "$filename" # [$jira_id $title](https://flashacademy.atlassian.net/browse/$jira_id) ## Notes ## TODO EOF # Open the newly created file in Neovim nvim "$filename"