Skip to main navigation Skip to search Skip to main content

RAG for Third-Level Support
: Leveraging Commits, Diffs, and Tickets for Improved LLM Workflows

  • Lukas Lenhardt

    Student thesis: Master's Thesis

    Abstract

    Code and system architecture are subject to constant evolution in modern software
    systems. In order to understand if these changes are relevant to third-level customer
    support requests, developers need to frequently keep up with recent system changes.
    This becomes challenging for developers as the system grows and supporting tools are
    needed as a result. At Tractive, an Austrian company specializing in GPS and health
    tracking for pets, this need for tool support is also evident. This thesis investigates
    how a Retrieval Augmented Generation (RAG) based system can act as such a tool to
    support developers in identifying relevant software changes during third-level support
    tasks.
    For this purpose, a RAG-based system was developed and integrated into the existing
    Large Language Model (LLM) environment at Tractive. The system periodically ingests
    change set information from Jira and Bitbucket, each representing a software change
    consisting of issue-related and implementation-related artifacts. These change sets are
    embedded and stored in a vector database, where they are available for semantic retrieval
    based on a user query. The retrieval functionality is exposed through a Model Context
    Protocol (MCP) server, implemented with the Spring AI framework and made available
    to developers through the company hosted LibreChat interface. Retrieved change sets
    then act as context for LLM generated answers regarding third-level customer support
    tasks.
    The system was evaluated in two ways. To determine which artifact combinations
    are most effective for a RAG-based system, six change set variants were compared
    using RAGAs metrics. The results showed that a combination of issue-related and
    implementation-related artifacts proved to be most effective in connecting the user
    query to the embedded change sets. The Jira issue information represents a central
    aspect of this relationship and is best complemented by either a raw code diff or an
    LLM generated summary based on that raw code diff. The developed system uses the
    code summary in the embedded change sets, as it reduces storage requirements and
    improves token efficiency. To understand how the developed system supports develop
    ers, structured interviews were conducted at Tractive. These indicate that the system
    benefits developers and improves efficiency, by providing direct answers or by surfacing
    relevant changes for further investigation.
    Date of Award2026
    Original languageEnglish (American)
    Awarding Institution
    • FH OÖ
    SupervisorStefan Wagner (Supervisor)

    Studyprogram

    • Software Engineering

    Cite this

    '