Skip to content

The moment it happens

Create Jira tickets from Telegram messages

Staff message an IT problem to your Telegram bot, a structured Jira ticket is created, and the bot replies with the ticket number.

Runs
The moment it happens
Apps
Jira, Telegram
AI
Yes, uses the built-in AI allowance
Access
bot token; Jira write

Send this to your assistant

Create a ClickRuntime automation: when someone messages our IT Telegram bot, have AI turn the message into a ticket title, description and priority, create it in Jira project IT, and reply with the ticket number.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

A logistics company's warehouse staff do not use email or Jira, but they all have Telegram. When a scanner breaks or a printer jams, they call the IT person, who is often busy and loses track of who called about what.

Letting staff message a bot, which creates a proper ticket and replies with a number, gives IT a queue without asking anyone to learn new software. Staff get confirmation, and IT can prioritise.

What you get out of it

  • Use the app people already have

    Staff report problems in Telegram, which they already use every day. No new logins.

  • Every problem is logged

    Each message becomes a ticket. Nothing depends on someone remembering a phone call.

  • Tidy tickets from short messages

    AI turns a quick message into a clear title, description and priority. IT can triage at a glance.

  • Instant confirmation

    The bot replies with the ticket number. The person knows their problem is in the queue.

How it works

What happens, step by step

  1. When someone sends a message to your bot, Telegram passes it to your automation's trigger link.

  2. ClickRuntime checks the sender is on your allowed list.

  3. AI turns the message into a ticket title, description and priority.

  4. A Jira ticket is created in your IT project, noting who reported it.

  5. The bot replies with the ticket number.

Before it runs live

  • Connect Jira
  • Connect Telegram
  • Paste your automation's link into the other app's webhook settings

What you get

RunsThe moment it happens
Create Jira tickets from Telegram messagesjust nowSucceeded
Telegram · IT botThanks! Logged as IT-1188. IT will be in touch.

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other Jira and Telegram steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
create_jira_tickets_from_telegram_messages.pyexample
from clickruntime import on_event, credentials, http, ai

JIRA, SITE = "https://api.atlassian.com/ex/jira/your-cloud-id", "https://acme.atlassian.net/browse/"
adf = lambda text: {"type": "doc", "version": 1, "content": [{"type": "paragraph", "content": [{"type": "text", "text": text}]}]}

def jira(method, path, **kw):
    resp = http.request(method, JIRA + path, headers={"Authorization": f"Bearer {credentials.connection('jira', 'work')}", "Accept": "application/json"}, **kw)
    return resp.raise_for_status() or (resp.json() if resp.content else None)
CHAT_ID = "123456789"

def telegram(text, chat_id=CHAT_ID):
    http.post(f"https://api.telegram.org/bot{credentials.secret('TELEGRAM_BOT_TOKEN')}/sendMessage", json={"chat_id": chat_id, "text": text}).raise_for_status()

ALLOWED = {111111111, 222222222}
SCHEMA = {"type": "object", "properties": {"title": {"type": "string"}, "description": {"type": "string"},
          "priority": {"type": "string", "enum": ["High", "Medium", "Low"]}}}

@on_event
def handle(event):
    msg = (event.json or {}).get("message") or {}
    if not msg.get("text"):
        return {"ignored": True}
    chat, user = msg["chat"]["id"], msg["from"]
    if user["id"] not in ALLOWED:
        telegram("Sorry, this bot is only for Acme staff.", chat)
        return {"refused": user["id"]}
    t = ai.generate(msg["text"][:3000], json_schema=SCHEMA, max_output_tokens=200, system="Turn this IT problem report into a ticket.").json
    key = jira("POST", "/rest/api/3/issue", json={"fields": {"project": {"key": "IT"}, "issuetype": {"name": "Task"}, "summary": t["title"][:250],
               "priority": {"name": t["priority"]}, "description": adf(f"{t['description']}\n\nReported by {user.get('first_name', '')} via Telegram: {msg['text']}")}})["key"]
    telegram(f"Thanks! Logged as {key}. IT will be in touch.", chat)
    return {"issue": key}

FAQ

Common questions

Can people send voice messages?
This version handles text messages. Voice can be added by transcribing the audio first, which needs a speech-to-text service key.
How do I stop strangers from using the bot?
Give it a list of allowed Telegram user ids, and messages from anyone else get a polite refusal.
Does the person hear when the ticket is closed?
Not in this version. You can add a step that messages them when the ticket is resolved.
What permissions does it need?
bot token; Jira write. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run for each event the app sends.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Create Jira tickets from Telegram messages” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.