Skip to content
gentic.news — AI News Intelligence Platform
Connecting to the Living Graph…

Listen to today's AI briefing

Daily podcast — 5 min, AI-narrated summary of top stories

A Jira board showing multiple task cards in different columns, with a diagram overlay illustrating a durable…
Open SourceScore: 78

Build Durable Jira Automation with MCP + Temporal

Pair MCP for Jira/Confluence tool access with Temporal for durable execution to build agentic workflows that survive crashes, retries, and long-running approvals.

·7h ago·4 min read··14 views·AI-Generated·Report error
Share:
Source: dev.tovia devto_mcpCorroborated
How do I build durable Jira automation workflows with MCP and Temporal?

Use an MCP server to expose Jira and Confluence tools, then wrap each LLM and tool call as a Temporal activity for checkpointed, resumable workflows. This handles rate limits, crashes, and long-running approvals.

TL;DR

Pair MCP for Jira/Confluence tool access with Temporal for durable execution to build agentic workflows that survive crashes and span hours.

Most "AI automation" demos fall apart the moment a workflow needs to run longer than a single request. An agent makes a few tool calls, the process crashes or times out, and you lose all state. For business workflows that touch real Jira issues, that is not acceptable.

Developer Ahmet Özel built an open-source platform that solves this by combining two ideas: MCP for tool access and Temporal for durable execution. The repo is at github.com/ahmet-ozel/atlassian-ai-workflow-platform.

The Problem With One-Shot Agents

Building a Real-World MCP Jira Server in Pyt…

A typical agent loop looks like: read a ticket, decide on an action, call a tool, repeat. This is fine for short tasks. It breaks down when a workflow:

  • Spans minutes or hours
  • Depends on external systems that fail intermittently
  • Needs to resume after a deploy

If your orchestration lives in a single Python process, any crash means you start over. For Claude Code users automating multi-step Jira workflows, this is a dealbreaker.

Why MCP for Tools

The Model Context Protocol (MCP) standardizes how an agent discovers and calls tools. Instead of hard-coding Jira API calls into the agent, you expose Jira and Confluence as MCP tools. The agent sees a clean, typed tool surface: create_issue, transition_status, search, comment, fetch_confluence_page. The protocol handles the wiring.

The practical benefit is decoupling. You can add or change tools without touching agent logic. The same tools work with any MCP-compatible client—including Claude Code. It also keeps the agent prompt focused on intent rather than API mechanics.

Why Temporal for Orchestration

Temporal gives you durable workflows. Workflow code looks like ordinary Python, but every step is checkpointed. If a worker dies, the workflow resumes from the last completed step on another worker. Retries, timeouts, and backoff are declarative.

This maps perfectly onto agent workflows. Each LLM call and each tool call becomes a Temporal activity. If an LLM provider rate-limits you or a Jira call fails, Temporal retries that single activity instead of replaying the whole reasoning chain. Long-running approvals (wait for a human to review before transitioning a ticket) become a normal part of the workflow instead of a hack.

The tradeoff is added infrastructure. Temporal is one more service to run, and you have to think in terms of deterministic workflow code versus side-effecting activities. For short, stateless tasks it is overkill. For anything that has to be reliable, it pays for itself quickly.

Architecture at a Glance

Building AI-Powered Jira Integration with MCP: Streamlining Project ...

The stack ties together:

  • An MCP integration layer exposing Atlassian tools to the agent
  • Temporal workers running durable workflows and activities
  • A webhook gateway turning Jira events into workflow triggers
  • An admin dashboard plus a Streamlit UI for running and inspecting workflows
  • Multi-provider LLM support (OpenAI, Anthropic, Gemini, and self-hosted vLLM)

Everything runs in a single Docker Compose stack, so you can bring the whole system up locally.

What This Means for Claude Code Users

If you're using Claude Code to automate Jira workflows today, you're likely running one-shot prompts or custom scripts that break on failure. This architecture gives you a production-grade alternative:

  1. Expose Jira/Confluence as MCP tools — Claude Code can discover and call them via the standard MCP interface.
  2. Wrap each step as a Temporal activity — Your agent's reasoning is checkpointed. Crashes don't lose state.
  3. Handle long-running approvals — Temporal natively supports waiting for human input before continuing.

Try It Now

  1. Clone the repo: git clone https://github.com/ahmet-ozel/atlassian-ai-workflow-platform
  2. Run docker compose up to start Temporal, MCP server, and workers.
  3. Configure your Jira credentials and LLM provider in the config file.
  4. Connect Claude Code to the MCP server by adding it to your claude.json or using the --mcp flag.
  5. Start a workflow: trigger it from a Jira webhook or the Streamlit UI.

The key insight from Özel: Separate "what to do" from "how to survive doing it." The agent reasons about intent and picks tools. Temporal owns reliability. MCP owns the tool boundary. Keeping those three responsibilities apart makes each one simpler to reason about and test.


Source: dev.to

Sources cited in this article

  1. Ahmet
Source: gentic.news · · author= · citation.json

AI-assisted reporting. Generated by gentic.news from 1 verified source, fact-checked against the Living Graph of 4,300+ entities. Edited by Ala SMITH.

Following this story?

Get a weekly digest with AI predictions, trends, and analysis — free.

AI Analysis

Claude Code users should adopt this architecture for any Jira/Confluence automation that needs to survive beyond a single session. The immediate action: set up an MCP server for your Atlassian tools and wrap your Claude Code workflows as Temporal activities. This means your agent can handle multi-step ticket transitions, wait for human approvals, and recover from API rate limits without losing progress. Key workflow change: instead of running a single Claude Code prompt like "transition this ticket to In Progress and add a comment," you'll structure it as a Temporal workflow where each tool call is an activity. This lets you resume from failures and inspect the full execution history. The Docker Compose setup makes local testing straightforward. For teams already using Claude Code for operations, this is the missing piece for production-grade automation. Start with the Jira webhook integration to trigger workflows automatically, then extend to other platforms using the same MCP + Temporal pattern.
This story is part of
The Agentic Pivot: How Claude Code Is Forcing a Reconfiguration of the AI Stack
Anthropic's developer tool is becoming the connective tissue between models, infrastructure, and autonomous workflows, challenging OpenAI's application-first strategy.
Compare side-by-side
Claude Code vs Temporal
Enjoyed this article?
Share:

AI Toolslive

Five one-click lenses on this article. Cached for 24h.

Pick a tool above to generate an instant lens on this article.

Related Articles

From the lab

The framework underneath this story

Every article on this site sits on top of one engine and one framework — both built by the lab.

More in Open Source

View all