Business Problem
Sprint planning meetings consume 2-4 hours every two weeks. Scrum masters manually calculate velocity, check team availability, and estimate what fits in the sprint.
Solution Overview
Connect Jira MCP Server with Google Calendar and Slack to automate velocity calculation, capacity planning, and sprint backlog suggestions.
Implementation Steps
Calculate Velocity
Analyze completed story points from the last 3-5 sprints to determine team velocity.
Check Capacity
Factor in team availability from Google Calendar (PTO, holidays, meetings).
Suggest Sprint Backlog
Recommend stories from the product backlog that fit within the sprint capacity.
async function planSprint() {
const velocity = await calculateVelocity(5); // last 5 sprints
const capacity = await getTeamCapacity();
const adjustedCapacity = velocity.avg * (capacity.availableHours / capacity.normalHours);
const backlog = await jira.searchIssues({ jql: 'project=PROD AND sprint IS EMPTY ORDER BY priority DESC, rank ASC' });
const suggested = selectStoriesForCapacity(backlog, adjustedCapacity);
await slack.sendMessage({
channel: '#sprint-planning',
text: `Sprint suggestion: ${suggested.length} stories, ${suggested.totalPoints} points (capacity: ${adjustedCapacity})`
});
}Post-Sprint Retrospective Data
Auto-generate sprint review metrics: completed vs planned, carryover, and burndown accuracy.
Code Examples
async function calculateVelocity(sprintCount) {
const sprints = await jira.getCompletedSprints({ last: sprintCount });
const points = sprints.map(s => s.completedPoints);
return { avg: avg(points), min: Math.min(...points), max: Math.max(...points) };
}