Skip to content

On a schedule

Escalate overdue Jira tasks with a Telegram alert

Each morning overdue Jira tasks are raised to high priority and the manager gets one Telegram message listing them.

Runs
On a schedule
Apps
Jira, Telegram
AI
Not needed
Access
Jira read+write; bot token

Send this to your assistant

Create a ClickRuntime automation: every weekday morning, find overdue tasks in Jira project OPS, raise them to High priority, and send the list to the manager on Telegram. Don't repeat a task two days running.

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 field operations manager spends most of the day away from a desk. Overdue tasks pile up in Jira unseen, and by the time the manager checks the board on Friday, a customer has already complained.

Raising overdue tasks to high priority and sending a short Telegram list each morning reaches the manager wherever they are. They can call the right person straight away instead of discovering the problem days later.

What you get out of it

  • Managers hear on the move

    Telegram reaches the manager's phone. No need to be at a desk to know what slipped.

  • Priority reflects reality

    Overdue tasks move to high priority, so they rise to the top of everyone's view in Jira.

  • One message, not many

    All overdue tasks arrive in a single list each morning. Easy to scan between jobs.

  • No repeated nagging

    Tasks already escalated yesterday are left out of today's list. Every message has something new.

How it works

What happens, step by step

  1. Every weekday morning, ClickRuntime finds tasks in your Jira project that are past their due date and not done.

  2. It leaves out tasks it escalated yesterday, which it remembers.

  3. Each remaining task is raised to high priority.

  4. The manager gets one Telegram message listing the tasks, their assignees and due dates.

Before it runs live

  • Connect Jira
  • Connect Telegram

What you get

RunsOn a schedule
Escalate overdue Jira tasks with a Telegram alerttoday, 9:00Succeeded
Telegram · Ops bot⏰ Overdue tasks OPS-512 Replace router at Northwind office (Sam, due 2026-10-16)

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

  • Run it at a different time, more or less often, or only on weekdays
  • Add an AI step, for example to summarize, sort or draft a reply
  • 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.
escalate_overdue_tasks_to_jira_and_telegram.pyexample
from clickruntime import on_trigger, credentials, http, state

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()

@on_trigger
def run(event):
    issues = jira("POST", "/rest/api/3/search/jql", json={"jql": "project = OPS AND duedate < now() AND statusCategory != Done ORDER BY duedate",
                  "fields": ["summary", "duedate", "assignee", "priority"], "maxResults": 100})["issues"]
    yesterday = set(state.get("escalated") or [])
    new = [i for i in issues if i["key"] not in yesterday]
    for i in new:
        if i["fields"]["priority"]["name"] not in ("High", "Highest"):
            jira("PUT", f"/rest/api/3/issue/{i['key']}", json={"fields": {"priority": {"name": "High"}}})
    if new:
        telegram("⏰ Overdue tasks\n" + "\n".join(f"{i['key']} {i['fields']['summary']} ({(i['fields']['assignee'] or {}).get('displayName', 'unassigned')}, "
                                                  f"due {i['fields']['duedate']})" for i in new))
    state.set("escalated", [i["key"] for i in issues])
    return {"overdue": len(issues), "escalated": len(new)}

FAQ

Common questions

Does it change anything else on the ticket?
Only the priority. Assignee, status and due date are left for people to change.
Can different teams go to different managers?
Yes. Map each team or component to a Telegram chat, and each manager gets only their team's tasks.
Can it also email me?
Yes. A copy of the list can be emailed to you as well.
What permissions does it need?
Jira read+write; bot token. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run each time it runs (on a schedule). Checks that find nothing to do and stop right away aren't counted.
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 “Escalate overdue Jira tasks with a Telegram alert” from your assistant

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