How digitalservicebund/hack-jira-cfd works
Main Components
a. External Systems:
• Jira Cloud (with REST API endpoint)
• Authentication Service (Atlassian API)
b. Core Application Components:
• Configuration Layer (Environment Variables)
• Jira Integration Layer
• Data Processing Core
• Visualization Layer
Component Organization
[External Services Layer]
[Integration Layer]
[Core Processing Layer]
[Visualization Layer]
Detailed Component Breakdown
a. External Services Layer (Top):
b. Integration Layer:
• "Jira Service" component (based on jira-service-functions.ts)
c. Core Processing Layer:
• Create "Core Processor" component (from core-functions.ts)
• Data transformation logic
• Cycle time calculation module
• CFD data processor
d. Visualization Layer:
• "Plotting Engine" component (from plotting-functions.ts)
• Three output types:
• Cycle Time Histogram
• Completion Percentage Graph
Data Flow Indicators
• Authentication flow from env vars to Atlassian
• Data retrieval from Jira API
• Data processing flow through core components
• Output flow to visualization
Important Details
a. Configuration Elements:
• ATLASSIAN_USER_EMAIL
• ATLASSIAN_API_TOKEN
• JIRA_API_BASE_URL
• JQL Queries
• State Configurations
b. Processing Features:
• Weekend removal process
• State tracking logic
• Cycle time calculation points