Master thesis
Cite …

From Email to Issue: A RAG-based Ticket Creation System for Heterogeneous Data Sources

Abstract

Customer support requests in enterprise environments often arrive as unstructured emails that must be converted into structured issue-tracker tickets. This conversion is a manual and repetitive task that depends heavily on the domain knowledge of individual support engineers. Automating this conversion spans classification and information extraction from short informal texts, abstractive text generation, and heterogeneous data integration. The contextual information required to produce accurate tickets is distributed across heterogeneous internal sources such as wiki pages and customer-specific configuration files. While existing approaches address individual ticket attributes such as resolver group classification or description generation, few systems jointly generate all ticket fields within a single pipeline.

This thesis presents a retrieval-augmented generation pipeline that automates the creation of structured Jira tickets from customer emails. The pipeline ingests Confluence wiki pages and GitHub-hosted JSON configuration files and stores them in a SAP HANA Cloud knowledge graph with an integrated vector index. At query time, relevant evidence is retrieved through vector similarity search and graph-based context expansion. A structured prompt combines the email content with the retrieved evidence and instructs a large language model to generate a ticket conforming to a predefined JSON schema. The generated ticket is validated and submitted to Jira.

The evaluation follows two complementary tracks. An automatic classification evaluation measures component and priority prediction accuracy against ground-truth labels from 127 real Jira tickets. In addition, a human preference study with three domain experts compares generated tickets with human-written tickets across multiple quality criteria using a five-point preference scale. Prompt schema design emerges as the dominant factor influencing classification performance, achieving a component F1 of 0.780 and a priority F1 of 0.638 with no retrieval. Retrieval augmentation has limited impact on classification accuracy but improves the qualitative aspects of the generated output. Generated summaries and descriptions are rated comparable to human-written fields, while context usage and overall quality remain weaker than manually created tickets. Overall, the pipeline produces usable tickets that reduce manual effort but do not yet eliminate the need for expert review.