Choose your region

    Lists show the case studies of your region first. Browse and search still hold every case study.

    Europe
    North America

    AI code review shortens pull request cycle time at Atlassian

    Atlassian put an LLM reviewer on its engineers' Bitbucket pull requests, with a judge model and a trained classifier deciding which of its comments reach a person.

    AtlassianAustralia and United StatesEnterprise softwareScaled since Jun 2024
    Scale
    Over 2,000 repositories and over 54,000 comments in 12 months
    Scenario
    AI code review of pull requests
    Business function
    Software engineering
    Who built it
    Built in-house (Anthropic, OpenAI, Monash University, and The University of Melbourne)
    Human oversight
    Assists people
    Organization
    Enterprise
    AI types
    Generative AI
    Users
    over 5,500
    People served
    over 400+

    Sources and their publishers

    This case study draws on reporting by the following publishers. Enterprise AI Case Studies combined these accounts and added its own explanation. The reporting, and every passage quoted from it, belongs to whoever published or supplied it.

    1. arXiv

    2. Atlassian

    tl;drPull requests with AI review comments had a 30.8% shorter median cycle time.See the results

    View the solutionBuild this solution yourself

    Atlassian uses Rovo Dev Code Reviewer, an in-house tool, as the first reviewer on its engineers’ Bitbucket pull requests1, 4. The tool drafts comments with a large language model (LLM) and filters them through two quality checks. It posts the rest for the author and the human reviewer1, 2.

    In the year that Atlassian measured, the model was Anthropic’s Claude 3.5 Sonnet. By August 2025, the team had moved it to Sonnet 41, 3. The reviewer became generally available to customers in October 2025, and in November 2026 Atlassian included it with every paid Jira and Teamwork Collection license2, 5.

    Atlassian engineers measured the tool on their own work for a year, across over 1,900 repositories. They presented the results at the International Conference on Software Engineering (ICSE) in April 20261, 2. Pull requests that received AI comments had a 30.8% shorter median cycle time than those without, and they drew 35.6% fewer human-written review comments1.

    Before the deployment

    Code review is mandatory in every Atlassian software engineering team. Every code change, whatever its size, needs a peer review in a Bitbucket pull request before it can merge into the main codebase1. Authors and reviewers discuss each change to clarify intent and resolve issues. The process was largely manual, so it ran at the pace of the reviewers who were available1.

    In January 2026, Taroon Mandhana, the company’s CTO for AI and Teamwork, wrote, “We had a PR problem at Atlassian”4. The review process had the following problems:

    • Slow merges: The median time from opening a pull request to merging it had crept up to over 3 days4.
    • A long first wait: Engineers waited an average of 18 hours for the first review comment, which made up 26% of total cycle time4.
    • A fixed pool of reviewers: Developers produced code faster than ever, but the number of senior engineers able to review it stayed fixed4. Review tended to stall during busy periods and across time zones1.
    • Small issues: Reviews got stuck in back-and-forth over code consistency, typos, and style4.

    “No individual, not even senior technical leads, could remember all the knowledge needed to consistently write and review code for each team and each project.”

    Taroon Mandhana, CTO of AI and Teamwork at Atlassian4

    What was built

    Rovo Dev Code Reviewer writes a first review of each pull request, and people decide what changes. The goal was an assistant for the repetitive, context-independent parts of review, so that engineers can spend their attention on logic, architecture, and design2. The work is divided as follows:

    • Language model: Turns the pull request and its context into candidate comments. These can be suggestions, bug reports, style fixes, or code changes that the author can apply directly1.
    • Review prompt: Does much of the work, because the model gets no training on Atlassian’s code. It casts the model as an experienced Atlassian software engineer2, defines the review task, asks for step-by-step reasoning, and carries Atlassian Engineering’s review guidelines1.
    • Judge and ranker: A gpt-4o-mini judge drops each comment that is hallucinated or doesn’t match the code change. A fine-tuned ModernBERT ranker then posts only the comments that score above a threshold tuned through A/B testing1, 2, 3.
    • Author and human reviewer: The author can apply a suggestion with a single click in Bitbucket2. The human reviewer decides whether to accept or decline each comment, and still approves every change before it merges1, 2.

    By January 2026, the reviewer also checked each pull request against the coding standards in Confluence and the linked issue’s acceptance criteria4. It told the author which criteria hadn’t been met. In one example, it noticed that a working change used an unapproved framework instead of the team’s existing component libraries4.

    Atlassian designed the tool as a review assistant, not as an automation of the whole review, to support trust, accountability, and human autonomy1. It has become the automated first reviewer on every pull request, which frees Atlassian’s human reviewers for larger, more critical changes4.

    Alternatives considered

    The team weighed the following options:

    • Fine-tuning the language model: Set aside because fine-tuning on customer code could put data security and privacy at risk, so the reviewer works zero-shot1. Nearly half of Atlassian’s enterprise customers cite these risks as critical blockers to adopting AI development tools. Atlassian names GDPR or CCPA non-compliance among the consequences of mishandling customer code1.
    • Retrieval-augmented generation (RAG): Set aside because it suits mature projects with long histories. Newly created projects have no past changes to retrieve1.
    • Heuristic filters: Without filtering, LLM comments can be noisy, nit-picky, or factually wrong, as early internal trials showed3. Heuristics such as sorting comments into categories with an LLM raised precision but gave up recall, so the team replaced them with the ranker. The ranker was also meant to cut the cost, latency, and randomness that come with using LLMs3.
    • A score-based judge: Set aside for a True or False verdict, so that the team didn’t have to pick an arbitrary threshold1.

    Rollout

    Atlassian tried the reviewer on itself first, in a month of dogfooding that grew from engineers in two software teams to a broader group. Comment quality was the main concern, and several rounds of trials went into stabilizing it before the reviewer went to all Atlassian teams1.

    Figure 1From internal rollout to a Jira feature
    From internal rollout to a Jira featureAtlassian's 12-month internal deployment period began in June 2024, and widespread internal enablement followed in January 2025. The evaluation window closed in July 2025. The reviewer became generally available to customers in October 2025, the evaluation was presented at ICSE 2026 in April 2026, and in November 2026 Atlassian included it with paid Jira licenses.Jun 2024Jun 2024 · 12-month internal deployment begins · Documented in source [1]12-month internal deployment beginsJan 2025Jan 2025 · Widespread internal enablement · Documented in source [1]Widespread internal enablementJul 2025Jul 2025 · Evaluation window closes · Documented in source [1]Evaluation window closesOct 2025Oct 2025 · Generally available to customers · Documented in source [2]Generally available to customersApr 2026Apr 2026 · Results at ICSE 2026 · Documented in source [1]Results at ICSE 2026Nov 2026Nov 2026 · Included with paid Jira licenses · Documented in source [5]Included with paid Jira licensesFrom internal rollout to a Jira featureAtlassian's 12-month internal deployment period began in June 2024, and widespread internal enablement followed in January 2025. The evaluation window closed in July 2025. The reviewer became generally available to customers in October 2025, the evaluation was presented at ICSE 2026 in April 2026, and in November 2026 Atlassian included it with paid Jira licenses.Jun 2024Jun 2024 · 12-month internal deployment begins · Documented in source [1]12-month internaldeployment begins7 moJan 2025Jan 2025 · Widespread internal enablement · Documented in source [1]Widespreadinternal enablement6 moJul 2025Jul 2025 · Evaluation window closes · Documented in source [1]Evaluationwindow closes3 moOct 2025Oct 2025 · Generally available to customers · Documented in source [2]Generally availableto customers6 moApr 2026Apr 2026 · Results at ICSE 2026 · Documented in source [1]Results at ICSE 20267 moNov 2026Nov 2026 · Included with paid Jira licenses · Documented in source [5]Included withpaid Jira licenses
    • Key milestone
    Sources [1][2][5]
    Atlassian ran the reviewer on its own repositories for more than a year before general availability.

    Over the 12-month deployment period, the reviewer ran across over 2,000 repositories and generated over 54,000 comments. Over 5,500 engineers accepted its comments1. Customers came next, through an open beta that launched at Team25 in Anaheim3. The customer product reviews pull requests in Bitbucket Cloud and GitHub5.

    Technology and architecture

    Figure 2Three models between a pull request and the engineer
    Three models between a pull request and the engineerA Bitbucket pull request supplies the diff, title and description, a linked Jira issue supplies the business context and acceptance criteria, and review guidelines and Confluence standards supply the rules. All of them feed Claude 3.5 Sonnet, the generating model in the evaluated year, which drafts candidate comments. A gpt-4o-mini judge keeps only factually correct comments, and a fine-tuned ModernBERT ranker keeps only those likely to lead to a code change. The surviving comments are posted inline for the author and the human reviewer, who decide what to change. Whether each comment led to a code change becomes a resolution label that retrains the ranker, and written feedback goes to Jira Service Management. Nothing in the figure is inferred.diff, title, description (data) · Documented in source [1]acceptance criteria (data) · Documented in sources [1] [4]rules (data) · Documented in sources [1] [4]candidate comments (data) · Documented in source [1]factually correct (data) · Documented in source [1]inline comments (handoff to people) · Documented in sources [1] [3]code change or not (data) · Documented in source [3]retraining (feedback) · Documented in source [3]written feedback (data) · Documented in source [1]ATLASSIAN WORK SYSTEMSROVO DEV CODE REVIEWERBitbucket pull request · System · Documented in source [1]SYSTEMBitbucketpull requestLinked Jira issue · System · Documented in sources [1] [4]SYSTEMLinkedJira issueGuidelines and standards · Data · Documented in sources [1] [4]DATAGuidelinesand standardsClaude 3.5 Sonnet · AI model · Documented in sources [1] [2]AI MODELClaude 3.5Sonnetgpt-4o-mini judge · AI model · Documented in sources [1] [2]AI MODELgpt-4o-minijudgeModernBERT comment ranker · AI model · Documented in sources [1] [3]AI MODELModernBERTcommentrankerAuthor and human reviewer · Team · Documented in sources [1] [2]TEAMAuthor andhumanreviewerResolution labels · Data · Documented in source [3]DATAResolutionlabelsJira Service Management · Application · Documented in source [1]APPLICATIONJira ServiceManagementdiff, title,descriptionacceptancecriteriarulescandidatecommentsfactuallycorrectinlinecommentscode changeor notretrainingwrittenfeedbackThree models between a pull request and the engineerA Bitbucket pull request supplies the diff, title and description, a linked Jira issue supplies the business context and acceptance criteria, and review guidelines and Confluence standards supply the rules. All of them feed Claude 3.5 Sonnet, the generating model in the evaluated year, which drafts candidate comments. A gpt-4o-mini judge keeps only factually correct comments, and a fine-tuned ModernBERT ranker keeps only those likely to lead to a code change. The surviving comments are posted inline for the author and the human reviewer, who decide what to change. Whether each comment led to a code change becomes a resolution label that retrains the ranker, and written feedback goes to Jira Service Management. Nothing in the figure is inferred.diff, title, description (data) · Documented in source [1]acceptance criteria (data) · Documented in sources [1] [4]rules (data) · Documented in sources [1] [4]candidate comments (data) · Documented in source [1]factually correct (data) · Documented in source [1]inline comments (handoff to people) · Documented in sources [1] [3]code change or not (data) · Documented in source [3]retraining (feedback) · Documented in source [3]written feedback (data) · Documented in source [1]ATLASSIAN WORK SYSTEMSROVO DEV CODE REVIEWERBitbucket pull request · System · Documented in source [1]SYSTEMBitbucket pull requestLinked Jira issue · System · Documented in sources [1] [4]SYSTEMLinked Jira issueGuidelines and standards · Data · Documented in sources [1] [4]DATAGuidelinesand standardsClaude 3.5 Sonnet · AI model · Documented in sources [1] [2]AI MODELClaude 3.5 Sonnetgpt-4o-mini judge · AI model · Documented in sources [1] [2]AI MODELgpt-4o-mini judgeModernBERT comment ranker · AI model · Documented in sources [1] [3]AI MODELModernBERTcomment rankerAuthor and human reviewer · Team · Documented in sources [1] [2]TEAMAuthor andhuman reviewerResolution labels · Data · Documented in source [3]DATAResolution labelsJira Service Management · Application · Documented in source [1]APPLICATIONJira ServiceManagementdiff, title, descriptionacceptance criteriarulescandidate commentsfactually correctinline commentscode change or notretrainingwritten feedback
    • AI component
    • Data
    • Handoff to people
    • Feedback
    Sources [1][2][3][4]
    In the evaluated year Claude 3.5 Sonnet drafted every comment, and only those that passed a judge model and a trained ranker reached the engineers.

    Three models sit in a row, and only the first one writes. The pipeline uses an event-driven architecture, which the team chose for scalability. Creating a pull request starts the review, and each stage hands its output to the next1. Of the three models, only the ranker is trained by Atlassian itself.

    The following table lists the components of the solution.

    Layer What they used Role Source
    Language model Claude 3.5 Sonnet Wrote the candidate comments from a zero-shot prompt in the evaluated year, June 2024 to July 2025 1, 2
    Checker model gpt-4o-mini Judges True or False whether each comment matches the code change 1, 2
    Checker model ModernBERT, fine-tuned on over 50,000 Rovo Dev comments Scores how likely a comment is to lead to a code change, against a tuned threshold 1, 3
    Prompt and context management Review prompt and guidelines Persona, task, chain of thought and Atlassian Engineering’s guidelines for code, tests and tone 1, 2
    Solution platform Rovo Dev Code Reviewer Gathers the context, runs the models in turn and posts the surviving comments 1
    Event stream Event-driven architecture Starts a review when a pull request is created and moves it through each stage 1
    Developer tools Bitbucket Hosts the pull requests, shows inline comments and one-click suggestions, marks resolved comments outdated 1, 2, 3
    Business or operational system Jira Supplies the linked issue’s business motivation and acceptance criteria 1, 4
    Knowledge content Confluence Holds the coding standards the reviewer checks against 4
    Feedback capture Jira Service Management Collects engineers’ written feedback on individual comments 1
    Machine learning platform ML platform GPUs Runs the ranker’s fine-tuning in a few hours 3

    In the commercial product, each review runs in a temporary, isolated environment that’s deleted as soon as the review finishes. The reviewer is on by default in manual mode, and it reviews a pull request only when its author asks5.

    Data inputs

    The reviewer uses the following data:

    • Pull request: The code diff from a clone of the repository, with the pull request’s title and description1.
    • Jira issue: The linked issue’s summary and description, which carry the business motivation, requirements, and acceptance criteria1, 4.
    • Review guidelines: Three sets written by Atlassian Engineering, for code, for test files, and for the tone and structure of comments1.
    • Confluence standards: Coding standards for a repository, a project, or the whole company, kept in Confluence documents4.
    • Engineer feedback: Ratings and written feedback on each comment, which go into Jira Service Management Cloud for analysis and prioritization1.

    Comment ranker

    The ranker learns from what authors do with the comments. A comment counts as resolved when the author later changes the commented line, and Bitbucket Cloud then marks the comment as outdated3. Those outcomes from internal use are the ground truth, and for now the ranker reads only the text of the generated comment3.

    ModernBERT was chosen because it’s memory-efficient and handles long inputs, up to 8,192 tokens natively1, 2. The team tests each fine-tuned version on a hold-out set, and fine-tuning takes a few hours on GPUs from Atlassian’s ML platform team3. The paper’s version was trained only on historical data, to keep the online evaluation clean1.

    The team treats training as a recurring job and retrains the ranker as the generating models change and usage data grows3. After the switch from GPT-4o to Claude Sonnet 3.5, the team expected resolution rates to fall, because the ranker had seen only GPT-4o comments. The rates held steady, overall and by comment category, and the later move from Sonnet 3.5 to Sonnet 4 went smoothly too3.

    How one pull request flows through the system

    A pull request moves through the reviewer in the following steps:

    1. An engineer opens a pull request in Bitbucket, and the creation event starts a review1.
    2. The reviewer clones the repository and collects the diff, the title and description, and the linked Jira issue1.
    3. The reviewer sends them inside the structured prompt to the language model, Claude 3.5 Sonnet in the evaluated year. The model returns candidate comments, each tied to a file path and a line number1.
    4. The judge drops the comments that don’t match the change, and the ranker drops those that score below the threshold1, 3.
    5. The rest appear inline on the pull request, about two on average. The author can apply a suggested fix with one click1, 2.
    6. If the author changes a commented line in the next commit, Bitbucket marks the comment outdated. That outcome becomes a training label for the next version of the ranker3.
    7. The human reviewer reads the change, discusses it with the author, and approves it before it merges1.
    Figure 3One pull request through the AI first review
    One pull request through the AI first reviewThe author opens a pull request in Bitbucket, which sends a creation event to the Rovo Dev Code Reviewer service. The service clones the repository and gathers the diff and Jira context, then sends a prompt to the language model, Claude 3.5 Sonnet in the evaluated year, which returns candidate comments. The service passes them to the quality checks, the gpt-4o-mini judge and the ModernBERT ranker, which return the comments that pass. The service posts them inline on the pull request, where the author and the human reviewer see them. If the author changes a commented line, Bitbucket marks the comment outdated, which becomes a training label. The human reviewer approves the change before merge. Nothing in the figure is inferred.OPTauthor changes the line1. opens pull request · Documented in source [1]1AuthorBitbucketopens pull request2. pull request created event · Documented in source [1]2BitbucketRovo Dev Code Reviewerpull request created event3. clone repo, gather diff and Jira issue · Documented in source [1]3Rovo Dev Code Reviewerclone repo, gather diff and Jira issue4. prompt with guidelines and context · Documented in source [1]4Rovo Dev Code ReviewerClaude 3.5 Sonnetprompt with guidelines and context5. candidate comments · Documented in source [1]5Claude 3.5 SonnetRovo Dev Code Reviewercandidate comments6. candidates · Documented in source [1]6Rovo Dev Code ReviewerJudge and rankercandidates7. factually correct, above threshold · Documented in sources [1] [3]7Judge and rankerRovo Dev Code Reviewerfactually correct, above threshold8. inline comments · Documented in source [1]8Rovo Dev Code ReviewerBitbucketinline comments9. comments and suggested fixes · Documented in sources [1] [2]9BitbucketAuthorcomments and suggested fixes10. next commit · Documented in source [3]10AuthorBitbucketnext commit11. comment outdated: training label · Documented in source [3]11BitbucketRovo Dev Code Reviewercomment outdated: training label12. reviews and approves before merge · Documented in source [1]12Human reviewerBitbucketreviews and approves before mergeOne pull request through the AI first reviewThe author opens a pull request in Bitbucket, which sends a creation event to the Rovo Dev Code Reviewer service. The service clones the repository and gathers the diff and Jira context, then sends a prompt to the language model, Claude 3.5 Sonnet in the evaluated year, which returns candidate comments. The service passes them to the quality checks, the gpt-4o-mini judge and the ModernBERT ranker, which return the comments that pass. The service posts them inline on the pull request, where the author and the human reviewer see them. If the author changes a commented line, Bitbucket marks the comment outdated, which becomes a training label. The human reviewer approves the change before merge. Nothing in the figure is inferred.OPTauthor changes the line1. opens pull request · Documented in source [1]1opens pullrequest2. pull request created event · Documented in source [1]2pull requestcreated event3. clone repo, gather diff and Jira issue · Documented in source [1]3clone repo,gather diffand Jira issue4. prompt with guidelines and context · Documented in source [1]4prompt withguidelinesand context5. candidate comments · Documented in source [1]5candidatecomments6. candidates · Documented in source [1]6candidates7. factually correct, above threshold · Documented in sources [1] [3]7factually correct, above threshold8. inline comments · Documented in source [1]8inline comments9. comments and suggested fixes · Documented in sources [1] [2]9comments andsuggested fixes10. next commit · Documented in source [3]10next commit11. comment outdated: training label · Documented in source [3]11commentoutdated:training label12. reviews and approves before merge · Documented in source [1]12reviews and approves before mergeAuthor · Person · Documented in source [1]AuthorBitbucket · System · Documented in source [1]BitbucketRovo Dev Code Reviewer · Application · Documented in source [1]Rovo DevCodeReviewerClaude 3.5 Sonnet · AI model · Documented in source [1]Claude 3.5SonnetJudge and ranker · AI model · Documented in sources [1] [3]Judge andrankerHuman reviewer · Person · Documented in source [1]HumanreviewerOne pull request through the AI first reviewThe author opens a pull request in Bitbucket, which sends a creation event to the Rovo Dev Code Reviewer service. The service clones the repository and gathers the diff and Jira context, then sends a prompt to the language model, Claude 3.5 Sonnet in the evaluated year, which returns candidate comments. The service passes them to the quality checks, the gpt-4o-mini judge and the ModernBERT ranker, which return the comments that pass. The service posts them inline on the pull request, where the author and the human reviewer see them. If the author changes a commented line, Bitbucket marks the comment outdated, which becomes a training label. The human reviewer approves the change before merge. Nothing in the figure is inferred.OPTauthor changes the line1. opens pull request · Documented in source [1]1opens pull request2. pull request created event · Documented in source [1]2pull requestcreated event3. clone repo, gather diff and Jira issue · Documented in source [1]3clone repo, gatherdiff and Jira issue4. prompt with guidelines and context · Documented in source [1]4prompt withguidelines and context5. candidate comments · Documented in source [1]5candidate comments6. candidates · Documented in source [1]6candidates7. factually correct, above threshold · Documented in sources [1] [3]7factually correct, above threshold8. inline comments · Documented in source [1]8inline comments9. comments and suggested fixes · Documented in sources [1] [2]9comments andsuggested fixes10. next commit · Documented in source [3]10next commit11. comment outdated: training label · Documented in source [3]11comment outdated:training label12. reviews and approves before merge · Documented in source [1]12reviews and approves before mergeAuthor · Person · Documented in source [1]AuthorBitbucket · System · Documented in source [1]BitbucketRovo Dev Code Reviewer · Application · Documented in source [1]Rovo DevCode ReviewerClaude 3.5 Sonnet · AI model · Documented in source [1]Claude 3.5SonnetJudge and ranker · AI model · Documented in sources [1] [3]Judge and rankerHuman reviewer · Person · Documented in source [1]Human reviewer
    • AI component
    • Data
    • Trigger or control
    • Handoff to people
    • Feedback
    Sources [1][2][3]
    The AI's comments arrive before any person has looked, but a human reviewer still approves the merge.

    Results

    The ICSE 2026 paper, presented in April 2026, measures whether engineers acted on the reviewer’s comments and whether pull requests moved faster1. The following table lists the results.

    Metric Before After Scope and timeframe Reported by
    Median pull request cycle time 20.73 hours, pull requests without AI comments 14.35 hours, pull requests with AI comments (30.8% shorter) 42,981 and 43,633 pull requests in standard-size enabled repositories, January to July 2025 Atlassian researchers, measured1
    Human-written comments per pull request 4.45 2.87 (35.6% fewer) Same pull requests Atlassian researchers, measured1
    Code resolution rate 44.45% for human comments 38.70% for AI comments One week, July 10 to 15, 2025 Atlassian researchers, measured1
    Code resolution rate with the comment ranker About 33% after expansion to all repositories About 40% after retraining Internal repositories, reported August 2025 Atlassian engineers, measured3
    Pull request cycle time, Atlassian-wide Over 3 days median to merge 45% lower Since adoption in early 2025 Atlassian, measured4
    Pull request cycle time, beta customers 4.18 days 2.85 days (32% lower) Average across beta customers of the commercial product Atlassian, measured4

    The metrics measure the following:

    • Median pull request cycle time: The time from the creation of a pull request to its merge or a build endpoint. The comparison covers enabled repositories of standard size during widespread enablement, and the gap was statistically significant on a Mann-Whitney U test1.
    • Interrupted time series: A second test, which looks for a break in a trend at the moment something changed. It covered 77 weeks, 52 before widespread enablement and 24 after. It found a statistically significant drop in median cycle time and in human comments per pull request1.
    • Code resolution rate: The share of comments whose commented lines change in the next commit1. Both ranker versions lifted the rate to between 40% and 45%, against a human benchmark of about 45% from Bitbucket usage. The more than 400 external beta customers scored better still3.
    • Atlassian-wide cycle time: The cut was more than a full day, and the 18-hour wait for a first comment fell to zero4. New engineers who used Rovo Dev merged their first pull request five days faster than those who didn’t4.
    • Comment types: A companion study of about 4,000 internal review comments compared Rovo Dev with human reviewers. Rovo Dev wrote a higher share of bug comments (2.8x) and maintainability comments (1.4x). Readability, bug, and maintainability comments were resolved most, at rates between 36% and 43%8.

    Lessons learned

    In the paper’s ablations, the trained filter and the written guidelines mattered most1. The ModernBERT actionability check raised human-aligned comment locations by 20 percentage points, while the gpt-4o-mini judge, which the authors call expensive, had minimal impact1. The review guidelines added 5 percentage points, while Jira issues and pull request descriptions were usually too high-level to help much1.

    Engineers acted on the AI’s comments less often than on each other’s, and they rarely clicked the thumbs-up or thumbs-down buttons1. Missing context can lead to incorrect or non-actionable comments, such as “AI seems to think this is PHP code, it’s Javascript”, and the model’s context window can’t hold all of that context1. Offline, only 4% of its comments matched a human comment in place and meaning, although the authors argue a mismatch doesn’t make a comment useless1.

    The ranker drifted when its job grew, because the first model had learned from too few repositories3. Retraining on about 53K comments instead of about 10K restored it, so a filter trained on usage data needs that upkeep3. The paper limits its results to Claude Sonnet 3.5 and Atlassian’s internal review, while the generator started on GPT-4o and later moved to Sonnet 41, 3.

    The figures are Atlassian’s own, and the paper’s authors all list Atlassian as an affiliation, its lead author together with Monash University1. Peer review at ICSE 2026 checked the method, not the numbers: a cohort comparison, a significance test, and an interrupted time series1. The 45% company-wide figure and the five-day gain for new engineers come from the CTO’s blog post, and the second compares users with non-users4.

    The 30.8% compares pull requests with and without AI comments, and the time series has no control group, so other differences might play a part1. Atlassian’s ranker post describes the comparison as pull requests “resolved by the code reviewer agent, compared to those resolved by humans”3. At Beko, a study of another LLM reviewer found that average pull request closure time rose from five hours 52 minutes to eight hours 20 minutes6.

    The ranker post gives resolution rates of 40% to 45%, where the paper’s final week shows 38.70%1, 3. The paper counts over 1,900 repositories in its evaluation and over 2,000 in its deployment1. It also dates the start of dogfooding to August 2025, inside a window that ends in July 20251.

    Case study scorecard

    Build this solution yourself

    Analysis

    What you need

    To build this solution, you need the following in place:

    • Written review guidelines: Atlassian Engineering’s guidelines for code, tests, and comment tone were the prompt component that helped most1.
    • A resolution signal in your code platform: Bitbucket marks a comment outdated when the author changes its line, which labels the ranker’s training data3.
    • Pull requests linked to issues: Jira issues with acceptance criteria let the reviewer tell authors which criteria a change hasn’t met1, 4.
    • Pull request volume and history: The ranker trained on over 50,000 comments from five months of use1. The time series needed 52 weeks of data from before enablement1.

    Reference architecture

    Software engineering assistant

    A software engineering assistant writes, reviews, tests, or migrates code in the tools that developers already use, and a developer approves its output. A language model writes a change, a test, or a review comment from the code for a task, and automated checks and a checker model build, test, and filter it. A reviewer approves each checked proposal in code review before it merges, and developers do the work that fails the checks by hand.

    A check mark shows a building block that this case study's sources document.

    Open the reference architecture

    Others who built it

    • Beko ran an LLM reviewer built on the open-source Qodo PR Agent across 10 projects and 22 repositories, and 73.8% of its comments were resolved6.
    • Google deployed AutoCommenter, an LLM-backed system that enforces coding best practices in code review, to all its developers between July 2022 and October 20237.

    Cite this case study

    Enterprise AI Case Studies. "AI code review shortens pull request cycle time at Atlassian." Updated Nov 19, 2026. https://case-studies.ai/case-studies/engineering-and-research/ER-010-ai-code-review-pull-requests/

    @misc{csai-er-010,
      author = {{Enterprise AI Case Studies}},
      title = {{AI code review shortens pull request cycle time at Atlassian}},
      year = {2026},
      note = {Updated 2026-11-19},
      url = {https://case-studies.ai/case-studies/engineering-and-research/ER-010-ai-code-review-pull-requests/}
    }

    Sources

    The following reporting, and every passage quoted from it, belongs to its publisher, not to this site. Sources and ownership

    1. Source 1:

      RovoDev Code Reviewer: A Large-Scale Online Evaluation of LLM-based Code Review Automation at Atlassian

      AcademicarXiv, Jan 20, 202620 Jan 2026By Kla Tantithamthavorn, Yaotian Zou, Andy Wong, Michael Gupta, Zhe Wang, Mike Buller, Ryan Jiang, Matthew Watson, Minwoo Jeong, Kun Chen, and Ming WuDocumentAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (94)
      • 2026 IEEE/ACM 48th International Conference on Software Engineering
      • April 12–18, 2026; Rio de Janeiro, Brazil
      • Affiliation: Monash University & Atlassian, Australia.
      • we present RovoDev Code Reviewer, an enterprise-grade LLM-based code review automation tool designed and deployed at scale within Atlassian's development ecosystem with seamless integration into Atlassian's Bitbucket.
      • accelerating feedback cycles (i.e., decreasing the PR cycle time by 30.8%), alleviating reviewer workload (i.e., reducing the number of human-written comments by 35.6%)
      • RovoDev Code Reviewer achieves a code resolution rate of 38.70%, which is 12.9% relatively less than a code resolution rate of human-written comments (44.45%).
      • code review is a mandatory and deeply embedded practice across all software engineering teams.
      • Every code change, regardless of size, is subject to peer review before it can be merged into the main codebase, ensuring its code quality, maintainability, and security.
      • The process is collaborative, with reviewers and authors engaging in discussions to clarify intent, resolve issues, and reach consensus before changes are approved.
      • Given the scale and rapid pace of development at Atlassian, code review can become a bottleneck, especially during periods of high activity or when teams are distributed across multiple time zones.
      • However, the core review process remains largely manual, relying on the expertise and availability of human reviewers.
      • nearly half cite these as critical blockers to adopting AI-powered software development tools
      • regulatory non-compliance (such as GDPR or CCPA)
      • fine-tuning large language models, which is common in the existing work
      • for code review comment generation may pose a risk of data security and privacy for enterprise-grade automated code review tools.
      • These RAG-based approaches are typically designed for mature, long-standing software projects with substantial historical data.
      • However, they are less suitable for newly created projects that lack sufficient historical context
      • To ensure the privacy and security of our customers' data and maintain regulatory compliance, we do not collect any user-generated content for model training or fine-tuning purposes.
      • RovoDev Code Reviewer operates in a zero-shot setting with Anthropic's Claude 3.5 Sonnet
      • Task Definition (TT) is an explicit instruction for LLM to perform a code review task for a given pull request.
      • is a step-by-step reasoning process before generating a set of review comments.
      • are explicit directives, well-crafted by Atlassian Engineering, provided to the LLM, ensuring that code reviews are conducted in strict alignment with the highest standards of enterprise quality and best practices
      • are provided to ensure comprehensive evaluation of coverage, quality, and effectiveness of test files.
      • are provided to guarantee that feedback is delivered with appropriate tone and structure
      • typically contain the business motivation, requirements, and acceptance criteria for the given pull request.
      • is a set of generated review comments with its associated file path and line number
      • is based on a prompting technique on a gpt-4o-mini model where our prompt consists of persona, task definition, instructions, and assessment guidelines.
      • returns a binary outcome (True/False)
      • in order to select one or more valid comment candidates to avoid the subjective threshold selection
      • Therefore, only code review comments that are factually correct will be proceed to the next component.
      • with a native 8,192 sequence length
      • We fine-tuned our ModernBERT model using five months of over 50,000 high-quality RovoDev-generated code review comments from Atlassian's proprietary repositories.
      • Note that we only use the historical data for model training to avoid data leakage in the online experiment.
      • Each data point consists of a RovoDev-generated comment paired with a label indicating whether it led to a code resolution
      • Rather than automating the whole code review process, RovoDev Code Reviewer serves as a code review assistant, aiming to generate review comments and suggestions, but final decisions remain with human reviewers
      • supporting trust, accountability, and iterative improvement, and respecting human autonomy.
      • To ensure the scalability of our RovoDev Code Reviewer, we use an Event-driven Architecture (EDA)
      • we use an Event-driven Architecture (EDA), i.e., a software design paradigm that determines the flow of RovoDev Code Reviewer system by events changes.
      • when a pull request is created, RovoDev is triggered to begin the automated code review process
      • RovoDev Code Reviewer clones a given repository and gathers all relevant information, including the code diff, PR title, PR description, and Jira issues & descriptions.
      • These comments can include suggestions, bug detections, style improvements, and even suggested code changes that users can directly apply.
      • The selected and validated comments are posted directly to the pull request, where human reviewers can review, accept, or further discuss them.
      • Internal Dogfooding (1 month)
      • First, we conducted initial trials with a small group of software engineers from two software development teams to gain initial feedback.
      • After receiving positive feedback from the first group, we gradually deployed RovoDev Code Reviewer with a broader group of Atlassian software engineers.
      • At that time, the major concern is mostly related to the quality of code reviewer comments generated by LLMs.
      • We conducted several iterations of trials to stabilize the quality of our RovoDev Code Reviewer-generated comments.
      • After improving RovoDev Code Reviewer based on the internal dogfooding, we expanded the deployment to all Atlassian teams.
      • Over a 12-month deployment period between June 2024 and June 2025, RovoDev Code Reviewer was deployed across over 2,000 source code repositories, generating over 54,000 code review comments, with an average of 2.1 RovoDev-generated comments per pull request.
      • Such RovoDev-generated comments have been accepted by over 5,500 software engineers.
      • defined as the percentage of RovoDev-generated comments where the commented code lines are subsequently changed and the issue is resolved by software engineers in the next commit
      • defined as the duration from when a pull request (PR) is created to when it is successfully merged into a production environment or reaches a build endpoint.
      • over a one-year period (Aug 2024 to July 2025)
      • This one-year period includes the beginning of RovoDev's internal dogfooding (Aug 2025) to the widespread enablement, until July 15 2025.
      • When considering the recent one-week period between July 10 2025 and July 15 2025, RovoDev Code Reviewer achieves a code resolution rate of 38.70%, while human-written comments achieves a code resolution rate of 44.45%.
      • We first make a comparison within enabled repositories of standard size
      • over the period of widespread internal enablement (January 2025 through July 2025).
      • We take the cycle time of PRs (hours) that have no RovoDev Code Reviewer comments, and compare the cycle time of PRs that have Code Reviewer comments.
      • with a statistically significant difference (Mann-Whitney U test
      • With RovoDev Comments 43,633 1.06 14.35 47.67 Without RovoDev Comments 42,981 2.40 20.73 73.25
      • It covers 77 weekly observations, spanning from 52 weeks before to 24 weeks after Code Reviewer's widespread internal enablement.
      • we perform an interrupted time series analysis using ordinary least squares (OLS) regression
      • The analysis reveals a statistically significant reduction in the median pull request cycle time following the widespread internal enablement of RovoDev Code Reviewer.
      • Table 2 shows that, at the median value, RovoDev Code Reviewer can reduce the number of human-written comments by 35.6%
      • With RovoDev Comments 43,633 2.87 Without RovoDev Comments 42,981 4.45 Relative Difference (%) -35.6
      • this analysis showed a statistically significant reduction in the mean amount human comments per PR after RovoDev Code Reviewer was widely enabled
      • we observe that software engineers rarely clicked the thumbs up/thumbs down buttons.
      • All of the comments were collected and fed into the Atlassian's Jira Service Management Cloud System for feedback analysis, prioritization, and management.
      • we manually reviewed each feedback and assigned a code and theme that is related to the feedback.
      • Software engineers found that RovoDev Code Reviewer is highly valued for its ability to accurately detect subtle errors and redundancies in code (e.g., a duplicate method name)
      • However, RovoDev may generate incorrect or non-actionable comments when the context information is unknown.
      • AI seems to think this is PHP code, it's Javascript
      • These feedback highlights that RovoDev Code Reviewer still needs additional syntactic information and programming environments
      • incorporating all of the possible context information into RovoDev is nearly infeasible due to the limited context window of LLMs
      • our internal benchmark dataset consists of 2,068 code changes that are associated 2,894 high-quality, human-written code review comments, spanning across 1,468 PRs.
      • we focused on the code review comments written by human reviewers over the past 3 years (2022-2025)
      • To ensure that the results are robust and reliable, we repeat the experiment 5 times
      • there are 7% (%PR_HAC) of the pull requests that contain at least one comment that is aligned with a human-written comment.
      • after the quality check stage, RovoDev Code Reviewer can generate 4% of the comments that are aligned with human-written comments, but still producing a moderately high number (40%) of comments that are not aligned with human-written comments.
      • a lack of alignment between RovoDev-generated and human-written comments does not necessarily imply that RovoDev's comments are not useful
      • We recommend that the similarity metric should not be used as the sole measure of the practical usefulness of such comments.
      • The results show that the review guideline contributes 5% positively to the RovoDev's review localization.
      • have a minimal impact on the RovoDev's review localization and generation capability
      • the absolute percentage difference is only 1%-3%.
      • For Jira issues and pull requests, our deeper investigation found that such information is generally high-level and lack sufficient detail to effectively generate code review comments.
      • We recommend that review guidelines, along with task definitions and code changes, be provided as mandatory inputs for zero-shot code review comment generation.
      • the ModernBERT-based Actionability Check helps improving the %HAC(LocationOnly) by 20 percentage points, and improving %HAC(Location+Semantic) by 15 percentage points.
      • On the other hand, the Factual Correctness based on the LLM-as-a-Judge, which tends to be expensive, has a minimal impact on the RovoDev's overall effectiveness.
      • This finding is surprising as it contradicts the findings in the ML literature
      • We recommend prioritizing actionability checks based on pre-trained language models
      • To evaluate the reliability of our Judge, we collected a small sample of 47 human-written comments.
      • Results show that our Judge produces scores that are highly correlated with human judgement (a Spearman correlation of 0.69)
      • However, the results of this paper are limited to Antropic Claude Sonnet 3.5 and the context of Atlassian's internal code review.
      • Through a large-scale online evaluation involving over 1,900 Atlassian repositories and more than 54,000 generated code review comments over a year
    2. Source 2:

      30.8% Faster PRs: How AI-Driven Rovo Dev Code Reviewer Improved the Developer Productivity at Atlassian

      OrganizationAtlassian, Apr 7, 20267 Apr 2026By Yaotian Zou, Andy Wong, and Minwoo JeongAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (16)
      • after a year-long, large-scale online evaluation across over 1,900 repositories
      • speeding up our development cycles by 30.8% and cutting human-written review comments by 35.6%
      • It went Generally Available (GA) on Oct 2025 after receiving widespread positive feedbacks from open Beta customers.
      • This research was a collaboration between Atlassian DevAI engineering team, data science team and associate professor Kla Tantithamthavorn from Monash university.
      • Our goal with Rovo Dev Code Reviewer was to create an intelligent assistant that could handle the repetitive, context-independent parts of code review
      • Rovo Dev Code Reviewer is built on top of a powerful LLM (Anthropic's Claude 3.5 Sonnet) and is seamlessly integrated into Bitbucket.
      • Persona Definition: We assign the LLM a persona, instructing it to act as an experienced Atlassian software engineer.
      • Our prompt includes well-crafted engineering guidelines for code, test files, and comments.
      • component based on a cheaper model (gpt-4o-mini)
      • If a comment is hallucinated or factually incorrect, it's filtered out.
      • We fine-tuned ModernBERT, an encoder-only model known for its memory efficiency and long context length
      • using a proprietary internally sourced dogfooding dataset of over 50,000 high-quality, Rovo Dev-generated comments.
      • It posts comments with suggestions and bugs, but the final decision to accept or decline a suggestion rests solely with the human reviewer.
      • Rovo Dev's suggestions can be accepted with a single click in Bitbucket
      • 38.70% of Rovo Dev-generated comments led directly to code changes in the subsequent commit.
      • Readability, bugs, and maintainability were the most resolved comment types.
    3. Source 3:

      Comment ranker – An ML-based classifier to improve LLM code review quality using Atlassian's proprietary data

      OrganizationAtlassian, Aug 25, 202525 Aug 2025By Yaotian Zou and Michael GuptaAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (31)
      • Its open beta program was launched at Team25 in Anaheim and it already has 10K+ MAUs and helps review 43K+ PRs monthly for beta customers.
      • Our team did a study which shows it reduced PR cycle time by 30% for pull requests resolved by the code reviewer agent, compared to those resolved by humans.
      • Without any filtering process in place, LLM generated comments can be very noisy, nit-picky or even factually wrong which directly leads to users' negative feedback.
      • This is confirmed from both the early stage of our internal dogfooding as well as studies in the industry.
      • One example of such a heuristic is categorizing a generated comment using an LLM, and only choosing comments of certain categories.
      • These heuristic-based filters have proven to be very useful in improving precision albeit giving up recall
      • Reduce the cost, latency, and output stochasticity due to the use of LLMs.
      • The selection process is optimized based on our north star online metric to measure success, code resolution rate (CRR)
      • It is defined by whether the PR author made code changes after the comment was created on the line of code where the comment was made.
      • A positive signal is a comment that triggers the code changes (the comment will then show "outdated" status in Bitbucket Cloud)
      • We used code resolution binary outcome from internally-sourced dogfooding data as the ground truth to train our model.
      • its output include a propensity score from 0 to 1
      • Then, any comment that we want to post has to pass a threshold score, chosen and optimized through A/B testing.
      • We currently only use the LLM generated comment content in its raw textual format.
      • we selected the open source ModernBERT model
      • to see how well it generalizes on unseen data.
      • Thanks to the GPU support from our ML platform team, fine-tuning those models can be finished within a few hours.
      • Training the comment ranker model is not a once-off effort and it needs constant refresh/retraining
      • It needs to catch up with our ongoing efforts on adopting more upstream SOTA LLM changes.
      • It needs to leverage ever growing usage data
      • we saw the model precision dropped (CRR dropped from ~40% to ~33%) mainly because the first version of the model was trained using a limited number of data signals from those repos.
      • review comments in training data increased from ~10K to ~53K
      • we retrained the model and the model precision quickly recovered (CRR improved back to ~40%)
      • Both versions of comment ranker has contributed to increasing CRR to 40% ~ 45% while maintaining similar coverage or prevalence level.
      • The increased CRR is very close to the human benchmark which is about 45%
      • Code reviewer currently has over 400+ external active beta customers and their metrics are even better than metrics from internal users.
      • When we switched our comment generation model from GPT-4o to Claude Sonnet 3.5, we were earlier concerned that we may see a CRR drop given comment ranker has been only trained using comments generated by GPT-4o.
      • we have seen the CRR stay very consistent before and after
      • this before-after consistency also holds true when we break down the metrics by different categories
      • we have smoothly transitioned from GPT-4o to Sonnet 3.5, and also from Sonnet 3.5 to Sonnet 4
      • with much enhanced quality improvement and user experience
    4. Source 4:

      How Atlassian cut PR cycle time by 45% with AI code reviews

      OrganizationAtlassian, Jan 28, 202628 Jan 2026By Taroon MandhanaAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (20)
      • We had a PR problem at Atlassian.
      • Our median time from PR to merge had crept up to over 3 days, with engineers waiting an average of 18 hours just to get that first review comment.
      • And while developers can now generate code and PRs faster than ever
      • we still only have a fixed number of senior engineers able to review them
      • No individual, not even senior technical leads, could remember all the knowledge needed to consistently write and review code for each team and each project.
      • Code reviews often got stuck in back-and-forth small issues, such as general code consistency, typos, and other stylistic issues.
      • We noticed that 26% of the total PR cycle time came from an engineer waiting for the first code review comment
      • With Rovo Dev, that wait time was cut to 0.
      • Since we built and adopted Rovo Dev in early 2025, we cut our PR cycle time by 45%, more than a full day!
      • Rovo Dev is now the automated, first reviewer on every PR
      • freeing our team to focus on reviewing larger, more critical code changes.
      • those who used Rovo Dev merged their first PR five days faster than those who didn't.
      • enforcing those standards is a common struggle for enterprise teams, and Atlassian is no exception.
      • Rovo Dev solved this problem for us on both ends.
      • Rovo Dev pulls from Confluence documents that include customized standards for the repo, project, or across the whole company, and checks to see that the PRs match those stated standards.
      • Rovo Dev recognizes that the code change works as intended, but uses the an unapproved framework instead of the team's existing component libraries.
      • it can check PRs against those same Jira work items and notify the PR author of criteria that hasn't been met.
      • Rovo Dev notes that the PR includes the new, requested menu item, but didn't make it the default selection per the acceptance criteria.
      • In beta, Rovo Dev cut customer PR cycle time by 32%, or by more than a day on average (from 4.18 to 2.85 days)!
      • About This Article Taroon Mandhana CTO, AI & Teamwork
    5. Source 5:

      Meet Code Reviewer, now available with Jira

      OrganizationAtlassian, Nov 13, 202613 Nov 2026By Ryan JiangAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (10)
      • According to our Q3 State of AI Impact in Engineering Report, teams that rely heavily on AI to write code now wait more than twice as long for a human review on a pull request (71 minutes, up from 32).
      • And median pull request size has more than doubled in the past year from 46 to 102 lines of code.
      • Code Reviewer is generally available with paid Jira and Teamwork Collection licenses.
      • Code Reviewer is an AI agent that reviews pull requests in Bitbucket Cloud and GitHub (with GitLab coming soon).
      • Since rolling out Code Reviewer internally, median pull request cycle time has dropped by 31%.
      • And 39% of Code Reviewer's comments led directly to a code change in the next commit.
      • Each review runs in a temporary, isolated environment that's deleted as soon as the review finishes.
      • Code Reviewer is on by default for eligible sites, in manual mode.
      • It only reviews a pull request when the author asks.
      • Code Reviewer uses Rovo credits, which are charged under our usage-based pricing policy.
    6. Source 6:

      Automated Code Review In Practice

      AcademicarXiv, Dec 28, 202428 Dec 2024DocumentAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (4)
      • We collaborated with Beko, a multinational home appliances company, whose software division adopted an automatic code review tool based on the open-source Qodo (FormerlyCodiumAI) PR Agent
      • using GPT-4 Turbo model
      • By 5th June 2024, Beko had adopted CodeReviewBot across 10 projects and 22 repositories.
      • Results: 73.8% of automated code review comments were labeled as resolved. However, the overall average pull request closure duration increased from five hours 52 minutes to eight hours 20 minutes, with varying trends observed across different projects.
    7. Source 7:

      AI-Assisted Assessment of Coding Practices in Modern Code Review

      AcademicarXiv, May 22, 202422 May 2024DocumentAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (3)
      • a system backed by a large language model that automatically learns and enforces coding best practices
      • We deployed AutoCommenter to all developers at Google over a period of time between July 2022 and October 2023
      • in an industrial setting at Google, where it is currently used by tens of thousands of developers every day.
    8. Source 8:

      Atlassian Rovo Dev Research: What Types of Code Review Comments Do Developers Most Frequently Resolve?

      OrganizationAtlassian, Nov 10, 202510 Nov 2025By Jirat Pasuksmit and Kla TantithamthavornAccessed Nov 16, 202616 Nov 2026

      Supporting excerpts (7)
      • This research is in collaboration with Dr. Patanamon Thongtanunam from The University of Melbourne.
      • we analyzed around 4,000 review comments from Atlassian internal projects and 1,000 from open source projects.
      • internal projects mainly use Typescript, Javascript, and Kotlin
      • Atlassian's internal projects, Rovo Dev generated a higher proportion of bug (2.8x) and maintainability (1.4x) comments, while human reviewers focused more on readability and slightly more design.
      • Rovo Dev is focusing only on actionable comments with only 0.6% classified as "No Issue".
      • These comment types are found to be more specific and actionable, i.e., code changes were made to resolve the comments, with resolution rates between 36% and 43%.
      • However, design comments, which often require broader changes or more discussion, were less likely to be resolved right away in the same pull-request.

    More in Engineering & Research

    View all