Automating Customer Support with JSM Virtual Agent

Explore how Atlassian’s JSM Virtual Agent uses AI to automate customer support, streamline chat workflows, and deliver faster, more accurate resolutions for teams worldwide.

Introduction

Customer support is evolving rapidly, and automation is at the heart of this transformation. At JSM (Jira Service Management), we’ve been working on leveraging AI to streamline support processes and deliver faster, more accurate responses to users. In this article, we’ll walk you through the journey of building the JSM Virtual Agent, its architecture, and the impact it’s making.


What is JSM?

Jira Service Management (JSM) is Atlassian’s AI-powered service management software. With JSM, teams can easily receive, track, manage, and resolve requests from their customers. Customers can submit requests through various channels—email, help centers, embeddable widgets, or even third-party apps like Slack and Microsoft Teams.

Examples of JSM in action:


JSM Chat Overview

Let’s look at a brief demo of JSM Chat. As shown below, a customer raises a request using the JSM help center, and a Virtual Agent (VA) bot attempts to resolve the query. If the bot cannot resolve the issue, the user can escalate it to a human agent, and a JSM ticket is created on their behalf.

This demo showcases the seamless handoff between the virtual agent and human support, ensuring customers always get the help they need.


Evolution of our chat architecture

Before

Previously, our chat backend had several limitations. One major drawback was inconsistency in bot responses across different channels. For example, our web-based interfaces—Portal and Help Center—had different backends. Portal only supported intent flow, while Help Center only supported AI answers.

To enable AI answers across all channels, we had to modify six different backends—a significant challenge for our team of 10 dedicated developers.

JSM Chat Architecture – Before

Now

To address these challenges, we reimagined our chat architecture:

JSM Chat Architecture – Now

These diagrams illustrates the progression of our chat architecture, highlighting how we moved from basic scripted responses to a sophisticated AI-driven system. Each stage represents a leap in our ability to understand and resolve customer queries more efficiently.


AI Deep Dive: How the Virtual Agent Works

Deep dive: Routing Strategy

Our routing approach is straightforward:

For ongoing conversations, we use the previous handler saved in the database to guide the flow. If the confidence score drops, we transition to AI answers and do not revert to the intent flow.


Deep dive: Query Flow and Formulation

Let’s dive into how a user query is processed end-to-end:

  1. Personalisation: We enrich the query with user-specific data such as location and profile, making responses more relevant.
  2. Retrieval-Augmented Generation (RAG): The system supports multiple search sources, including Jira tickets and knowledge bases, to find the best answer.
  3. No Hallucinations: We’ve implemented safeguards to prevent the AI from generating inaccurate or misleading responses.

This diagram shows the journey of a query from user input, through personalisation and search, to the final AI-generated answer.


Deep Dive: Search and Ranking

Once we’ve generated multiple query variants, the next step is to search our knowledge base (KB) for relevant information. Each variant can return a different set of passages, and the challenge is to extract the most useful ones for the user.

Why do we need to extract the top N passages?
When searching a large KB, the number of hits can be overwhelming, and not all results are equally helpful. Presenting too many options can confuse users, while too few may miss the best answer. To address this, we use a reranking process to ensure only the most relevant passages are considered.

Ranking Mechanism

To identify the top N most relevant passages, we employ a combination of ranking scores:


Impact and Results

The JSM Virtual Agent has delivered significant results:


Further Improvements

We’ve also implemented several enhancements to further improve answer quality and user experience:


Conclusion

AI-powered virtual agents are transforming customer support by providing instant, accurate, and scalable solutions. At JSM, we’re proud of the progress we’ve made and excited about the future of automated support.

Exit mobile version