# How Can an IT Support Company Write Each Client's Monthly Service Report From Jira Service Management? An Agent on the First Working Day

An IT managed service provider runs an agent each month that reads its Jira Service Management requests and drafts one service report per client company.

[Run this on Rush](https://cloud.getrush.ai/run/draft-each-clients-monthly-service-report/atlassian/). Opens the console with this prompt ready to send. Connect Atlassian there first.

## What the agent does

This is for an IT managed service provider looking after forty small offices: accountants, dental practices, a few law firms, a builder's merchant. Every client's staff raise requests through the provider's Jira Service Management portal, and each client company is a customer organization there. The contract promises a monthly service report: how many requests, what they were about, how fast the team answered, what is still open and what keeps coming back. A service manager used to spend the first two days of every month building forty of them from filters and spreadsheets. The agent drafts them all on the first working day.

The service manager connects Atlassian once with `POST /me/connections {"type": "mcp", "name": "atlassian", "url": "https://mcp.atlassian.com/v2/mcp"}` and signs in on Atlassian's page. Atlassian's remote MCP server respects the signed-in person's existing permissions, so the agent sees the service project the manager can see. The request names `atlassian` in `connections`.

On a run the agent calls `searchJsmRequests` with JQL for the service project, `organization = "<client>"` and `created >= startOfMonth(-1) AND created < startOfMonth()`, once per client in the request, and a second query for requests still open at the end of the month whatever their age. Atlassian's tools reference describes `searchJsmRequests` as searching requests "using JQL, SLA, sentiment, and resolver-plan signals", so for each request it reads the request type, priority, status, the SLA values the project tracks such as time to first response and time to resolution, and whether each was met. It opens a request with `getJsmRequest` only when the summary is too short to tell what it was about.

From that it writes one Confluence-ready Markdown draft per client: the month's request count against the previous month, the requests by type (password resets, new starters, printers, email, hardware), the share of requests that met each SLA, the open requests with their age, and a short paragraph on anything that repeated, such as five requests about the same printer. It writes `reports/<client>.md` for each client and `summary.csv` with one row per client. It does not create Confluence pages, comment on requests, or change any request.

## Start it with one API call

`POST https://api.phoenix.so/o/{org}/sessions`

```json
{
  "agent": "claude",
  "input": "Draft November 2026 service reports for Keystone IT. Use the atlassian connection, read only. Service project key: HELP. Clients (Jira Service Management organizations): Alder & Finch Accountants; Riverside Dental; Mercer Law; Hollis Building Supplies. For each client: 1) searchJsmRequests with JQL 'project = HELP AND organization = \"<client>\" AND created >= \"2026-11-01\" AND created < \"2026-12-01\"', following pagination; read request type, priority, status, created, resolved, and the SLA values for time to first response and time to resolution with met or breached. 2) searchJsmRequests for 'project = HELP AND organization = \"<client>\" AND statusCategory != Done' for open requests of any age. 3) The same first query for October 2026, count only. Use getJsmRequest only when a summary is unclear. Write reports/<client>.md: requests this month vs last month; requests by type; percent of requests meeting each SLA, with each breach listed (key, summary, by how much); open requests with age in days; one paragraph on repeated problems (same device, person or error 3+ times), naming the request keys. Plain, factual tone for the client's office manager; no promises. Write summary.csv (client, requests, last_month, first_response_met_pct, resolution_met_pct, open). Never create, edit, transition or comment on anything.",
  "connections": [
    "atlassian"
  ]
}
```

1. **Get an API key.** In the console, open Settings, then API keys, and create a key for your org. Send it in the Authorization header as a Bearer token.
2. **Send the request.** POST the body in request.json to https://api.phoenix.so/o/{org}/sessions. The run starts in its own cloud sandbox.
3. **Read what came back.** Follow the run on its live stream or wait for the run.completed webhook, then read the result and its trajectory.

## What comes back

The run drafts each client's monthly service report, with every SLA breach, open request and repeated problem, plus a `summary.csv`. The drafts are the session's artifacts under `reports/`, and the summary has a row per client: requests this month and last, the share meeting each SLA, and how many are still open. Each report lists every SLA breach by request key with how far it missed, the open requests with their age, and the repeated problems with the request keys that show them, so every number can be traced back to a request.

What the service manager checks before sending: breaches that were paused for the client, such as a request waiting on the client's own answer, which the SLA may or may not have paused depending on how the project is set up; requests raised under the wrong organization by a contractor who works for two clients; and the repeated-problems paragraph, which may need a sentence on what the provider plans to do. The manager pastes each report into the client's Confluence page or email and sends it.

## Run it on every first working day of the month

In the console, a Project automation with a `schedule` trigger, `cron` `0 6 1-3 * *` and the provider's `timezone`, runs a saved agent whose connections name `atlassian`, with instructions that tell it to stop at once unless today is the first weekday of the month. The schedule fills in no dates, so the saved prompt says "last calendar month" and the agent works out the JQL dates.

The client list lives in the saved agent's instructions, so onboarding a new client is one edit there and a new organization in Jira Service Management. A client that leaves is removed from the list, and last month's session still holds the final report sent to them.

## Why run it on Rush?

The Atlassian sign-in sits in Rush's connection, not in an API token on the service manager's laptop, and the agent acts as that manager, so it reads only the service project the manager can already open. Each client's report is drafted from the same queries in the same run, which keeps forty reports consistent in a way forty hand-built spreadsheets never were.

Each run has its own computer and keeps a record of every JQL query and request it read, so when a client disputes a breach count, the manager opens that month's session and shows the requests behind it. The session's `total_cost_usd` puts a figure on the report run that the provider can set against two days of a service manager's time.

## Frequently asked questions

### Can it publish the reports to each client's Confluence space?

Atlassian's server has `createConfluenceContent`, and the provider could allow it in the prompt, but this one forbids writing. A report goes to a client, so a person reads it first and publishes it by hand.

### What if the provider does not use organizations?

Then the JQL names whatever marks the client, such as a custom field or the reporter's email domain. The agent uses the query it is given, so the prompt is where the provider's own convention goes.

### Does it read the conversation on each request?

Only when the summary does not say what the request was about, and then only the customer-facing details `getJsmRequest` returns. Internal comments between technicians are not part of the report.

### Does this use Rovo credits?

Atlassian's getting-started page says some enriched Teamwork Graph tools consume Rovo credits. The Jira Service Management search and read tools used here are not among the ones it names, but check the page for your plan before scheduling forty clients at once.

## More Atlassian jobs

- [How Do I Find Outdated Procedures in Confluence? A Hotel Management Company's Monthly List of Standard Operating Procedures Due for Review](https://getrush.ai/run/find-outdated-procedures-in-confluence/atlassian/)
- [Which Service Desk Requests Are About to Breach Their SLA? An IT Support Provider's Twice-Daily List From Jira Service Management](https://getrush.ai/run/list-service-requests-close-to-breaching-sla/atlassian/)
- [Write Release Notes in Confluence From Jira Issues](https://getrush.ai/run/release-notes-in-confluence/atlassian/)

## More jobs like this: Produce a report or file, no repo

- [Draft a Klaviyo Email Campaign From a Product Launch](https://getrush.ai/run/draft-email-campaign/klaviyo/)
- [Draft a Product Update Email in Resend From a Changelog](https://getrush.ai/run/draft-product-update-broadcast/resend/)
- [How Does a Software Agency Write Its Weekly Client Update From GitLab? A Friday Draft per Client From Milestones and Merged Work](https://getrush.ai/run/draft-weekly-client-progress-updates/gitlab/)

## Keep reading

- [Connect Atlassian to Rush once, then name it on any run](https://getrush.ai/integrations/atlassian/)
- [Start your first run from the developer API quickstart](https://getrush.ai/docs/quickstart/)
- [Rush pricing: Free, Pro and Max](https://getrush.ai/pricing/)
