---
id: 16940
lang: en
title: "GitLab Shows Duo Agent Turning Jira Tickets Into Merge Requests in 15 Minutes of Setup"
published_at: "2026-11-21 01:46:52"
source_name: "GitLab Blog"
source_url: "https://about.gitlab.com/blog/jira-ticket-to-gitlab-mr-with-duo-agent-platform/"
canonical_url: "https://news.hamidun.com/en/news/16940"
categories: ["llm", "autonomous"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# GitLab Shows Duo Agent Turning Jira Tickets Into Merge Requests in 15 Minutes of Setup

> **Краткая суть (BLUF):** Today, a Jira ticket has to be read, copied into an AI agent, and then someone has to manually report that the merge request (MR) is ready. GitLab has shown how to remove those steps: the Jira agent finds urgent tickets, /goal hands one of them to Developer Flow, and the finished merge request shows up in Jira. Setup takes about 15 minutes (5 + 10), but the Atlassian MCP is still experimental, so start with a test project.  • About 5 minutes to integrate GitLab with Jira and about 10 to create the agent • An Atlassian admin adds gitlab.com to trusted domains once • Requires GitLab Premium or Ultimate on GitLab.com with Duo Agent Platform

In many teams, tasks live in Jira and code lives in GitLab. Even when AI agents are already connected, a person still opens Jira, reads the ticket, copies it into a chat with an agent, and then manually writes in the ticket that the merge request (MR) is ready. GitLab has published a step-by-step guide that removes this manual layer. The Jira agent is embedded in the Duo Agentic Chat, and implementation is handled by Developer Flow, a built-in GitLab workflow that opens a merge request based on the task description. The overall setup takes about 15 minutes: roughly 5 to integrate the two systems and about 10 to create the agent.

## How It Works

The scheme has three parts. The first is the standard GitLab-Jira integration. With it, any merge request that mentions a ticket key (project name plus number, for example KAN-123) appears on that Jira ticket, and a comment is posted there too. Setup requires an Atlassian API token. In the integrations section, you enable triggers for commits, merge requests, and comments. GitLab estimates this at five minutes per project.

The second part is the custom Jira agent. It is created directly in the interface: a name, a system prompt, and tools through the Atlassian MCP server from the AI Catalog. MCP (Model Context Protocol) is a standard way to give a model access to an external service, in this case Jira. First, an Atlassian organization administrator adds gitlab.com to trusted domains, a one-time step. Without it, authorization will not go through: Atlassian does not recognize GitLab as an MCP client. Then the agent is enabled in each relevant project, and every user connects their own Atlassian account.

The third part is handing off the work. The Jira agent does not write the code itself. When a ticket needs to be implemented, it formulates a goal such as "Implement KAN-123: brief description. Open a draft MR whose description starts with Resolves KAN-123". The user sends it with the /goal command or through the "+ > Goal" menu, and Developer Flow opens a draft merge request.

## What the Agent Does in Practice

GitLab set several strict rules in the agent's prompt. It does not guess ticket contents; it retrieves them through Jira tools. When asked "what's urgent," the agent writes its own search query in JQL (the Jira query language) and replies with a short table: key, description, priority, status, assignee, and how many days the ticket has been open. By default, it shows the current user's open tasks in the project and suggests one clarifying filter.

If asked about a specific ticket, the agent pulls it along with its comments and linked issues and summarizes the requirements and open questions in a few lines. It is worth requesting this summary before implementation.

When the user sends the next message after work has started, the agent checks the project for a merge request with the relevant key in its title or description. If it finds one, it leaves a single comment in Jira in a set format: a link to the MR, two sentences on what changed, and a note on what remains unclosed from the ticket (or "nothing"). The agent reports each MR once. It does not change the ticket's status, assignee, or fields in the same message unless explicitly asked. Because each user connects their own account, comments in Jira appear under the person's name, not a bot's.

There is also protection against instruction injection: the agent treats ticket text as requirements, not as commands to itself. For processes where external people write into tickets, this is a reasonable measure, but it should not be fully relied upon.

## Limitations and What to Do

The main limitation is status. The Atlassian MCP server in the AI Catalog is still experimental and not production-ready, so GitLab advises starting with a test project. You need GitLab Premium or Ultimate on GitLab.com, Duo Agent Platform enabled at the top-level group, and Developer Flow in the project. The MCP server additionally requires enabling experimental and beta features. Permissions are split as follows: one-time setup is done by a Maintainer or Owner, and Developers and above can use the agent. The agent's visibility (private, limited to a group, or public) determines the projects where it can be enabled. Only an administrator can delete the agent.

One more caveat: the result is confirmed by a demo video in which a merge request appears on a ticket. GitLab does not provide metrics on speed or code quality. So the benefit is currently measured in manual steps removed, not in proven acceleration of development.

The practical takeaway is simple. If a team already works with Jira and GitLab, it makes sense to deploy the agent on a test project and hand it routine tickets such as minor fixes. Draft merge requests should still be reviewed by a human in any case, so that errors do not reach the main branch.

---
- **Первоисточник:** [GitLab Blog](https://about.gitlab.com/blog/jira-ticket-to-gitlab-mr-with-duo-agent-platform/)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/16940
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
