PKPhillip Kuhn

Case study

From a six-month spreadsheet to a ten-minute question

My manager was spending hours every reporting period pulling Jira data into Excel. I built an agent that does it when you ask. Here's how it went, including the parts that didn't work at first.

The problem

Leadership wanted to know how much of our IT teams' finished work was Run, Improve or Transform. Sounds simple. It wasn't, because the work type lived on the parent initiative and not on each story. Every story had to be matched back to its parent.

My manager did that by hand every period. Export the parents, export every finished item for every team, then pivot tables to pull it together. I'm pretty sure the workbook took about six months to build, and it still took a few hours every time someone ran it. The automation someone had tried before didn't work well, and its search skipped about three teams because it used a project name that doesn't exist.

What I did

I built a Rovo agent in Jira you can just talk to. I fed it the real search queries and the real workbook, since they showed what a right answer looks like, and kept tightening the instructions. It was on version eight before my manager first tried it.

I didn't want one report. I wanted something he could drop into an executive page every period and then keep asking questions of.

What went wrong

My manager ran his own report next to the agent's before he trusted it. He also caught tasks showing up in a report that should have been stories and bugs. I fixed that too.

How I tested it

I wrote 55 questions with answers I'd already checked and ran them after every change. That's how I knew fixing one team hadn't broken another.

What changed

What I took from it

These numbers are estimates from the people involved, not a measured study. My own early guess was 30 minutes saved per run. My manager's number is a lot bigger and he's the one who did the original work, so I'm going with his.