RAG4Tickets: AI-Powered Ticket Resolution via Retrieval-Augmented Generation on JIRA and GitHub Data

arXiv:2510.08667 · cs.SE, cs.AI · Submitted 2025-10-09 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: Today's paper: "RAG4Tickets: AI-Powered Ticket Resolution via Retrieval-Augmented Generation on JIRA and GitHub Data".

Jane: The gist: The proposed Retrieval-Augmented Generation (RAG) framework integrates Sentence-Transformers, FAISS,

Tom: First, who's behind it and why it matters.

Paper summary: Tom: So, wrapping up this discussion on RAG4Tickets: AI-Powered Ticket Resolution via Retrieval-Augmented Generation on JIRA and GitHub Data. The authors are Mohammad Baqar from Cisco Systems Inc, CA, USA.

Jane: They essentially propose a unified pipeline for ingesting and linking JIRA tickets, developer discussions, and GitHub pull requests into an integrated system for AI-assisted ticket triage and resolution generation.

Tom: It’s about using that RAG framework to deliver context-aware ticket resolution recommendations based on past cases found in the data.

Jane: So the implication is that this helps software teams manage their knowledge better by providing a mechanism to ground AI suggestions in historical, specific evidence.

Tom: This means less time spent searching through disparate systems and more time actually fixing bugs and building new features.

Tom: The paper title RAG4Tickets: AI-Powered Ticket Resolution via Retrieval-Augmented Generation on JIRA and GitHub Data points toward a future where AI isn't just classifying issues, but actively reasoning based on the evidence it finds.

Jane: It suggests that combining semantic retrieval with an LLM is a practical way to make those LLMs useful in operational settings by grounding their answers in specific, historical evidence.

Tom: So this framework is about using the JIRA and GitHub data to improve how software teams resolve technical problems.

Jane: That’s what RAG4Tickets: AI-Powered Ticket Resolution via Retrieval-Augmented Generation on JIRA and GitHub Data does for the software development community.

Conclusion: Tom: So we're wrapping up on RAG4Tickets, that paper by Baqar from Cisco Systems Inc. It’s about taking all our messy JIRA tickets and GitHub code history and using a Retrieval-Augmented Generation framework to help AI actually suggest how to fix things.

Jane: It’s really interesting because it’s not just throwing an LLM at a ticket and hoping for the best; it's actively retrieving specific past examples to ground the answer in real data.

Lu: The authors are focusing on unifying JIRA and GitHub data through this pipeline, which is a pretty big move for how we connect our development processes.

Meng: From where I’m sitting, I’m curious about how much effort goes into keeping that connection unified when you're dealing with so many different systems.

Lalam: My literature review shows that the core idea here is embedding historical tickets and PR metadata so the LLM can pull relevant context for resolution suggestions.

Tom: Exactly, Lalam, and it’s about making sure those suggestions aren't just guesses but are based on what has actually worked before. It links the JIRA world to the GitHub world directly.

Jane: So what does this mean for a team that spends all day searching through old tickets and trying to piece together a solution from scattered comments?

Lu: It means a unified pipeline, which is key, and they use Sentence-Transformers for embeddings and then FAISS for fast vector search across millions of those historical artifacts.

Meng: Fast search is good, but what about the accuracy when you’re searching across both text descriptions in JIRA and the actual code diffs in PRs? That sounds like a tough matching problem.

Tom: They actually tackle that by partitioning the embeddings by artifact type, so they can target their search space better for tickets versus pull requests.

Jane: And then they use a decision pipeline where that retrieved evidence guides the final response generated by the LLM. That’s how you get those grounded suggestions.

Lalam: The evaluation metrics they use include Recall at k and Mean Reciprocal Rank, which measures how well the system finds and ranks those relevant past cases.

Tom: They showed a forty-five percent improvement in average resolution time in their case study, which is a solid number when you’re talking about real developer productivity.

Jane: It seems like the authors are showing how retrieval and generation can be effectively fused to emulate human-like diagnostic behavior in DevOps workflows. That’s the big picture here.

Lu: They also looked at limitations, specifically factual reliability where the LLM sometimes hallucinates if it goes too far outside what it finds in those retrieved documents.

Meng: That’s a fair point; hallucinations are always a risk when you rely on an LLM to synthesize things, even with good retrieval. But they plan to add a verification layer and reinforcement learning with human feedback later on to fix that.

Tom: It sounds like the paper proves the concept is viable for improving accuracy and knowledge reuse in modern DevOps environments right now.

Jane: It really shows how this RAG framework can help mitigate cognitive overload for developers dealing with technical debt across multiple platforms. So, where do we go from here with this kind of system?

Cisco Systems Inc

cs.SE, cs.AI

Submitted: 2025-10-09

Updated: 2026-10-15

Comments: 13 Pages

Code: https://github.com/reactjs/rfcs

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 87/100

The gist: The gist: The proposed Retrieval-Augmented Generation (RAG) framework integrates Sentence-Transformers, FAISS, and an LLM to deliver context-aware ticket resolution recommendations by embedding

Key concepts

Retrieval-Augmented Generation (RAG)
A framework that enhances a Large Language Model by first retrieving relevant external information before generating an answer. In this context, it means the system searches historical JIRA tickets and code metadata to find similar past problems before asking the LLM to suggest a fix, ensuring the suggestions are based on real data.
Sentence-Transformers
These are models used to convert text (like ticket descriptions or comments) into numerical vectors called embeddings. They capture the meaning of sentences semantically, allowing the system to understand that two different pieces of text discussing similar problems are conceptually close, even if they use different words.
FAISS
A library used for efficient similarity search over large sets of vectors (embeddings). It allows the system to quickly find past JIRA tickets or PRs that are semantically similar to a new ticket by performing Approximate Nearest Neighbor (ANN) searches, making the knowledge retrieval process very fast.

Terminology

Summary

The gist: The proposed Retrieval-Augmented Generation (RAG) framework integrates Sentence-Transformers, FAISS, and an LLM to deliver context-aware ticket resolution recommendations by embedding historical JIRA tickets and GitHub metadata to synthesize grounded suggestions.

How it works

  1. The system utilizes a unified architecture for ingesting and linking JIRA and GitHub dataA unified architecture for ingesting and linking JIRA and GitHub data.

  2. A decision pipeline is established where retrieved evidence guides LLM-generated resolution suggestionsA decision pipeline where retrieved evidence guides LLM-generated resolution suggestions.

  3. The embedding layer converts heterogeneous artifacts into dense vector representations using Sentence-Transformers and CodeBERT/GraphCodeBERTThe embedding layer converts heterogeneous artifacts into dense vector representations using Sentence-Transformers and CodeBERT/GraphCodeBERT.

  4. Embeddings are indexed using FAISS to enable scalable Approximate Nearest Neighbor (ANN) retrieval across millions of vectorsEmbeddings are indexed using FAISS to enable scalable Approximate Nearest Neighbor (ANN) retrieval across millions of vectors.

  5. The generation layer synthesizes the final response by concatenating top-ranked retrievals into a structured prompt for an LLMThe generation layer synthesizes the final response by concatenating top-ranked retrievals into a structured prompt for an LLM.

Data and Embedding Strategy

The data sources include JIRA tickets with titles, descriptions, priority, status, and resolutionJIRA tickets with titles, descriptions, priority, status, and resolution, user comments capturing discussions and error logs for implicit knowledgeuser comments capturing discussions and error logs for implicit knowledge, and GitHub PRs providing commit messages, code diffs, summaries, and review commentsGitHub PRs providing commit messages, code diffs, summaries, and review comments. The embedding layer employs Sentence-Transformers like all-MiniLM-L6-v2 and multi-qa-MPNet-base-dot-v1 for textual dataThe embedding layer employs Sentence-Transformers like all-MiniLM-L6--v2 and multi--qa--MPNet--base--dot--v1 for textual data, while CodeBERT and GraphCodeBERT embeddings are integrated to capture programming-language semanticswhile CodeBERT and GraphCodeBERT embeddings are integrated to capture programming-language semantics. Embeddings are partitioned by artifact type for targeted search spacesEmbeddings are partitioned by artifact type for targeted search spaces, and embeddings are normalized and periodically refreshed to capture evolving terminologyembeddings are normalized and periodically refreshed to capture evolving terminology.

Retrieval Mechanism

The retrieval layer uses FAISS (Facebook AI Similarity Search) to index all embeddings, supporting Approximate Nearest Neighbor (ANN) search for scalable retrievalFAISS (Facebook AI Similarity Search) to index all embeddings, supporting Approximate Nearest Neighbor (ANN) search for scalable retrieval. The workflow involves encoding a new ticket, querying the FAISS index to retrieve top-k similar tickets and PRs, and then re-ranking them using cosine similarity before passing them to the generation layerThe workflow involves encoding a new ticket, querying the FAISS index to retrieve top-k similar tickets and PRs, and then re-ranking them using cosine similarity before passing them to the generation layer. The methodology empirically selected HNSW for its balance of speed and recall in enterprise-scale datasetsThe methodology empirically selected HNSW for its balance of speed and recall in enterprise-scale datasets, finding it reduced average query latency by 73% compared to Flat index, with only a 2% drop in recallfinding it reduced average query latency by 73% compared to Flat index, with only a 2% drop in recall.

Generation and Evaluation

The RAG workflow synthesizes the final response by concatenating top-ranked retrievals into a structured prompt for an LLMThe RAG workflow synthesizes the final response by concatenating top-ranked retrievals into a structured prompt for an LLM. The LLM produces candidate solutions including step-by-step resolution plans and hyperlinks to related PRs for immediate traceabilityThe LLM produces candidate solutions including step-by-step resolution plans and hyperlinks to related PRs for immediate traceability. Evaluation metrics include Recall@k, Mean Reciprocal Rank (MRR), BLEU, ROUGE-L, and a factual consistency score against ground-truth resolutionsEvaluation metrics include Recall@k, Mean Reciprocal Rank (MRR), BLEU, ROUGE-L, and a factual consistency score against ground-truth resolutions. The case study demonstrated a 45% improvement in average resolution time and a 32% self-reported productivity uplift for developersThe case study demonstrated a 45% improvement in average resolution time and a 32% self-reported productivity uplift for developers.

Limitations and Future Work

Key challenges include factual reliability, where occasional hallucinations were observed when the LLM extrapolated beyond retrieved evidenceKey challenges include factual reliability, where occasional hallucinations were observed when the LLM extrapolated beyond retrieved evidence, and dataset drift due to framework evolution which degrades retrieval precisionand dataset drift due to framework evolution which degrades retrieval precision. Future work plans include incorporating a retrieval verification layer and reinforcement learning with human feedback (RLHF) to penalize hallucinationsFuture work plans include incorporating a retrieval verification layer and reinforcement learning with human feedback (RLHF) to penalize hallucinations, and investigating hybrid retrieval architectures combining dense FAISS indexing with sparse retrievers like BM25 for precision-recall tradeoff optimizationand investigating hybrid retrieval architectures combining dense FAISS indexing with sparse retrievers like BM25 for precision-recall tradeoff optimization.

The results collectively validate the promise of AI-augmented DevOps workflows to mitigate cognitive overload, accelerate triage, and enhance organizational knowledge reuse across software delivery lifecycles. The study demonstrates how retrieval and generation can be effectively fused to emulate human-like diagnostic and decision-making behaviorThe study demonstrates how retrieval and generation can be effectively fused to emulate human-like diagnostic and decision-making behavior.

This paper is 2510.08667, a Retrieval-Augmented Generation (RAG) framework that unifies JIRA tickets, developer discussions, and GitHub pull requests into an integrated pipeline for AI-assisted ticket triage and resolution generationa Retrieval-Augmented Generation (RAG) framework that unifies JIRA tickets, developer discussions, and GitHub pull requests into an integrated pipeline for AI-assisted ticket triage and resolution generation.

Improvements for AI systems

  1. Improve factual reliability by incorporating retrieval verification layers or cross-encoder re-ranking to ensure that generated recommendations remain strictly supported by retrieved artifacts. This directly addresses the limitation that LLM occasionally generates responses not grounded in retrieved evidence, leading to unreliable or misleading suggestions.

  2. Mitigate historical bias and data quality issues by implementing temporal relevance weighting and human-in-the-loop curation of training and retrieval datasets. This strategy counters the risk that Legacy tickets and PRs may contain outdated or low-quality fixes, propagating technical debt or suboptimal patterns.

  3. Enhance system stability against framework evolution by establishing a mechanism for periodic re-indexing and embedding refresh coupled with continuous fine-tuning using recent artifacts. This ensures the system maintains relevance despite Dataset drift (Framework Evolution) and prevents older embeddings from degrading retrieval precision.

  4. Improve developer trust by ensuring Evidence-linked outputs (PRs, diffs, tickets) are displayed alongside suggestions. This directly supports the finding that developers placed greater trust in AI-generated resolutions when transparent evidence—such as retrieved PR links and rationale—was displayed.

  5. Optimize for scalability and cost efficiency by investigating hybrid retrieval architectures that combine dense FAISS indexing with sparse retrievers such as BM25 or ColBERT for precision–recall tradeoff optimization. This aims to manage the operational costs associated with indexing tens of thousands of artifacts in FAISS while maintaining high performance.

Abstract

Modern software teams frequently encounter delays in resolving recurring or related issues due to fragmented knowledge scattered across JIRA tickets, developer discussions, and GitHub pull requests (PRs). To address this challenge, we propose a Retrieval-Augmented Generation (RAG) framework that integrates Sentence-Transformers for semantic embeddings with FAISS-based vector search to deliver context-aware ticket resolution recommendations. The approach embeds historical JIRA tickets, user comments, and linked PR metadata to retrieve semantically similar past cases, which are then synthesized by a Large Language Model (LLM) into grounded and explainable resolution suggestions. The framework contributes a unified pipeline linking JIRA and GitHub data, an embedding and FAISS indexing strategy for heterogeneous software artifacts, and a resolution generation module guided by retrieved evidence. Experimental evaluation using precision, recall, resolution time reduction, and developer acceptance metrics shows that the proposed system significantly improves resolution accuracy, fix quality, and knowledge reuse in modern DevOps environments.

Sources

Related papers