Skip to main content
Glama
startBlockedPeriod.ts865 B
/** * Blocked Period Initialization Module * * This utility handles the creation and initialization of blocked period records when an issue * transitions into a blocked state. It captures the timestamp when an issue became blocked and * initializes a structured representation of the blocked period with standard metadata fields. * The module provides a consistent approach to tracking the start of impediments, which is crucial * for accurate blocked time calculations and workflow efficiency analysis. */ import type { BlockedPeriod } from './types/durationAssessment.types' /** * Handles the start of a blocked period * @param timestamp Timestamp when block started * @returns New blocked period object */ export function startBlockedPeriod(timestamp: string): BlockedPeriod { return { startTime: timestamp, endTime: null, reason: null, } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tbreeding/jira-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server