metrics_churn
Get cloud churn time-series data split by billing period and per app to compute cancellation rates from customer cohorts.
Instructions
Cloud churn TIME-SERIES (not a single rate). Returns total.datasets split by billing period (Monthly, Annual) with two series each: Customers (cohort denominator) and Cancellations (numerator), plus per-app breakdown in addons[]. Caller computes rate = Cancellations / Customers per bucket. Only 3 filters work (aggregation/startDate/endDate); productId/hosting/addon are silently ignored on this aggregate endpoint.
š Spec (GET /rest/3/reporting/developer-space/{developerId}/sales/metrics/churn): https://developer.atlassian.com/platform/marketplace/rest/v4/api-group-reporting/#api-rest-3-reporting-developer-space-developerid-sales-metrics-churn-get
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "metrics_churn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | ISO date YYYY-MM-DD (inclusive upper bound). | |
| startDate | No | ISO date YYYY-MM-DD (inclusive lower bound). | |
| aggregation | No | Time-series bucket cadence. Default: week. Affects the number of `elements[]` returned per series. |