Automate Jira Notifications to Telegram with n8n Workflow

This detailed guide shows how to automate Jira issue notifications to Telegram using n8n. Save hours by instantly sending updates, creation alerts, and assignment notifications to the right Telegram users, improving team communication and tracking.
code
if
switch
+2
Workflow Identifier: 1547
NODES in Use: Code, If, Switch, Telegram, Webhook
Automate Jira to Telegram with n8n

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow listens for Jira issue events, like when an issue is created, updated, or assigned to someone.
It looks up who the Jira assignee is and checks if they have a Telegram account linked.
If yes, it sends a notification message straight to their Telegram chat.
The messages change a bit depending on the type of Jira event, including info about the project, issue key, title, description, and creation time.
If no Telegram account is linked, no message is sent.
This helps teams get instant, clear updates in Telegram without checking Jira repeatedly.


Tools and Services Used

  • Jira Webhook: Sends JSON event data when an issue changes.
  • n8n Workflow: Orchestrates webhook reception, data checking, and notifications.
  • Telegram Bot API: Sends messages to users via Telegram chats.
  • Header Authentication: Secures Jira webhook endpoint.
  • Code Node in n8n: Maps Jira user IDs to Telegram chat IDs.


How this Workflow Works (Input → Process → Output)

Input

  • Jira webhook sends an event POST request when issue changes happen.
  • The request contains issue details, the event type, and assignee information.

Processing Steps

  • Webhook node captures the incoming webhook. It checks authentication and receives data.
  • If node (check issue body, assignee and hook type) validates data presence. Only proceed if issue data and assignee exist.
  • Code node (telegram account) runs JavaScript to get the Jira assignee’s accountId from the webhook JSON. It looks up this accountId in a mapping object to find the Telegram chat ID.
  • const accountId = $('jira-webhook').first().json.body.fields.assignee?.accountId;
    
    const telegramAccounts = {
      "[jira account id]": 00000000, // telegram chat id
    };
    
    const telegramChatId = telegramAccounts[accountId];
    
    return [{telegramChatId}];
    
  • If node (check tg account exists) checks if telegramChatId exists. Stops workflow if no Telegram ID found.
  • Switch node (check type) routes work based on event type header. Cases for “created”, “updated”, and “change-assignee”.
  • Corresponding Telegram nodes send formatted messages for each event type.

Output

  • Telegram messages sent to the right user with issue details.
  • No messages sent if assignee does not have Telegram linked.


Beginner step-by-step: How to Use This Workflow in n8n

Importing the Workflow

  1. Download the workflow file using the Download button on this page.
  2. In the n8n editor, click the menu and choose “Import from File”.
  3. Select the downloaded workflow file and import it.

Configuring Credentials

  1. Add your Jira webhook authentication credentials in the existing header authentication node.
  2. Put your Telegram bot API token into all Telegram nodes.

Updating IDs and Mappings

  1. Open the telegram account code node.
  2. Replace placeholder Jira account IDs and Telegram chat IDs with actual values.
  3. Modify message templates in Telegram nodes if needed.

Testing and Activating

  1. Trigger Jira events like creating, updating, or re-assigning an issue.
  2. Check if notifications arrive in Telegram chats accordingly.
  3. If working as expected, set the workflow to “Active” in n8n to run continually.

Following these steps, users get real notifications in Telegram without building the workflow from scratch.
For running on self-hosted servers, refer to self-host n8n resources for extra help.


Customization Ideas

  • Expand the telegram account code node mapping to add more Jira accounts and their Telegram chat IDs.
  • Change the Telegram message templates to add more issue details or different wording.
  • Add more Jira webhook event types to the check type switch node to send messages for comments or issue closes.
  • Copy Telegram notification nodes and configure similar nodes for Slack or email alerts for multi-channel messages.


Troubleshooting

“Telegram chat ID is undefined”

The Jira assignee’s accountId is not found in the telegramAccounts mapping of the telegram account code node.
Update the code node with the correct Jira and Telegram IDs and test again.

“Webhook 401 Unauthorized”

This happens when the Jira webhook does not send the right Header Authentication credentials.
Make sure the HTTP Header Auth node in n8n matches credentials expected by Jira.

“No notification received on Telegram”

The Telegram chat ID check probably failed or the Telegram bot token is invalid.
Verify the Telegram bot token and chat IDs in n8n. Confirm the bot can message the user.


Pre-Production Checklist

  • Confirm Webhook URL and Header Authentication credentials match exactly in Jira and n8n.
  • Test Jira webhook triggers for creating, updating, and assigning issues.
  • Check Telegram bot credentials in n8n are valid.
  • Ensure all Jira assignees needing notifications are in the telegramAccounts mapping.
  • Run the workflow in test mode and check logs.


Deployment Guide

After testing, activate the workflow in n8n by toggling it to “Active” and saving.
The webhook listens for Jira events continuously.
Watch workflow run history for errors or missed events.
Optionally, set up alerts for node failures.
Ensure the Telegram bot and Jira webhook respect rate limits.
Update the user mapping as team members change.


Summary

✓ The workflow sends real-time Jira updates to Telegram users directly.
✓ It filters for only assigned users with Telegram linked.
✓ Saves time by removing manual Jira checks and email overload.
✓ Easy to import and configure for any n8n user.
✓ Provides clear, role-specific notifications improving team communication.


Automate Jira to Telegram with n8n

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

The workflow uses a code node with a mapping object that links Jira account IDs to Telegram chat IDs. It looks up the assignee’s accountId and finds the corresponding Telegram chat ID.
After importing, add Jira webhook authentication credentials, Telegram bot API token, update Jira account and Telegram chat ID mappings in the code node, and test the workflow before activating it.
Notifications might fail if the Jira assignee has no Telegram chat ID mapping, the Telegram bot token is invalid, or the bot is not authorized to message the chat ID.
A 401 Unauthorized error happens if the Jira webhook request does not include the correct header authentication credentials expected by the n8n webhook node.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.