Configure comprehensive analytics data collection across CloudBees Unify workflows, integrations, and platform operations to enable DORA metrics, flow metrics, and operational insights. This guide covers end-to-end setup from essential integrations through dashboard configuration and data validation.
Before you begin, ensure you have Admin permissions in your organization and at least one active component with workflow runs.
Configure essential integrations
CloudBees Unify analytics require external tool integrations to collect comprehensive performance data.
Set up Jira integration for flow metrics
Flow metrics depend on Jira project management integration to track work item lifecycle data. To connect your Jira instance to CloudBees Unify:
-
Navigate to .
-
Select Add integration.
-
Choose Jira from the integration options.
-
Complete the Jira connection configuration:
-
Enter your Jira server URL.
-
Provide authentication credentials (username and API token).
-
Test the connection to verify access.
-
-
Select Save to create the integration. The integration appears in your integrations list with a Connected status.
| You need administrative access to your Jira instance to retrieve the API token required for integration. |
Configure CI tool integrations for CI insights
CI insights require integration with Jenkins or CloudBees CI instances to collect platform operational data. To connect your CI tool to CloudBees Unify:
-
Navigate to .
-
Select Add integration.
-
Choose your CI tool type:
-
Jenkins for open source Jenkins instances
-
CloudBees CI for CloudBees CI installations
-
-
Complete the CI tool connection configuration:
-
Enter the controller URL.
-
Provide authentication credentials.
-
Configure webhook settings for real-time data collection.
-
-
Select Test connection to verify access.
-
Select Save to create the integration. The integration status changes to Active when connection succeeds.
Verify source code management integrations
Analytics dashboards require source code management (SCM) integration for commit and pull request data collection. To verify your SCM integration:
-
Navigate to .
-
Confirm you have active SCM integrations (GitHub, GitLab, or Bitbucket).
-
If SCM integration is missing:
-
Select Add integration.
-
Choose your SCM provider.
-
Complete the authentication and repository access configuration.
-
Test the connection and save.
-
Your SCM integration must have access to repositories used in your components for complete analytics data collection.
Configure analytics-specific settings
Analytics dashboards require additional configuration beyond basic integrations.
Set up analytics configuration for flow metrics
Flow metrics require explicit mapping between Jira issue types and flow item categories. To configure flow item mapping:
| Complete Jira integration setup before configuring analytics settings. |
-
Navigate to .
-
Select your Jira instance from the dropdown.
-
Choose a Jira project for flow metrics configuration.
-
Configure flow items mapping:
-
Select Feature and map to appropriate Jira issue types (Story, Epic).
-
Select Defect and map to bug-related issue types.
-
Select Risk and map to security or compliance issue types.
-
Select Tech Debt and map to technical improvement issue types.
-
-
Configure work status mapping:
-
Map Jira statuses to Active work time (In Progress, In Development).
-
Map Jira statuses to Wait time (Blocked, Under Review, Waiting for Approval).
-
-
Select SAVE to create the project configuration.
The analytics configuration validates your mappings and displays any configuration warnings.
| Include Jira issue keys in commit messages to enable correlation between development activity and work item tracking. |
Configure workflow annotations for DORA metrics
DORA metrics require workflow step annotations to identify build and deployment activities. To add workflow annotations:
-
Open your workflow YAML files for editing.
-
Add
kindannotations to appropriate workflow steps:jobs: build: steps: - name: Build application uses: ... kind: build deploy: steps: - name: Deploy to production uses: ... kind: deploy env: production -
Ensure deployment steps specify target environments using the
envparameter. -
Commit and push workflow changes to activate DORA data collection.
DORA calculations begin with the next workflow runs that include proper annotations.
Create and configure environments
DORA metrics require environment configuration to track deployment targets. To create and configure environments:
-
Navigate to .
-
Select Create environment for each deployment target:
-
Enter environment name (development, staging, production).
-
Select environment type from dropdown.
-
Configure environment-specific settings.
-
-
Associate environments with components:
-
Navigate to your component settings.
-
Select Environments tab.
-
Add relevant environments to the component.
-
Environment associations enable DORA metrics to calculate deployment frequency and lead time per environment.
Configure security and test insights
Security and test insights require workflow integration with scanning and testing tools.
Enable security scanning data collection
Security insights collect data from security scanners integrated into workflow runs. To enable security scanning:
-
Add security scanning actions to your workflows:
- name: Run SAST scan uses: cloudbees-unify/sast-scan@v1 with: scanner: sonarqube - name: Run container scan uses: cloudbees-unify/container-scan@v1 with: scanner: trivy -
Ensure scanners publish results in supported formats (SARIF, JSON).
-
Verify scan results appear in workflow run details.
Security insights populate automatically when workflows execute with proper security scanning configuration.
Configure test result publishing
Test insights require test result data from workflow executions. To configure test result publishing:
-
Add test result publishing to workflows that execute tests:
- name: Run tests run: npm test - name: Publish test results uses: cloudbees-unify/publish-test-results@v1 with: test-results: test-results.xml format: junit -
Support test result formats include JUnit XML, TestNG, and NUnit.
-
Verify test results appear in workflow run details after execution.
Test insights dashboard populates with data from subsequent test executions.
Validate dashboard functionality
Confirm all analytics dashboards display data correctly after configuration completion.
Execute workflows to generate data
Analytics dashboards require active workflow execution to populate with performance data. To generate analytics data:
-
Trigger workflow runs on components with analytics configuration:
-
Make code changes and commit with Jira issue keys.
-
Push changes to trigger automated workflow execution.
-
Manually trigger workflow runs if needed.
-
-
Execute workflows that include:
-
Build steps with
kind: buildannotations. -
Deployment steps with
kind: deployannotations. -
Security scanning actions.
-
Test execution and result publishing.
-
Allow 10-15 minutes for data processing and dashboard population after workflow completion.
Check dashboard data population
Verify each analytics dashboard displays expected data:
-
Navigate to :
-
Confirm deployment frequency calculations appear.
-
Verify deployment lead time data displays.
-
Check change failure rate and MTTR calculations.
-
-
Navigate to :
-
Verify work item data populates from Jira integration.
-
Check cycle time and efficiency calculations.
-
Confirm flow item distribution displays correctly.
-
-
Navigate to :
-
Verify commit and pull request data appears.
-
Check build and deployment statistics.
-
Confirm component activity tracking.
-
-
Navigate to :
-
Verify security scan results populate.
-
Check vulnerability trend analysis.
-
Confirm scan type categorization.
-
-
Navigate to :
-
Verify test execution data displays.
-
Check test failure analysis.
-
Confirm test suite performance tracking.
-
Troubleshoot data collection issues
Address common analytics data collection problems:
Problem: DORA metrics show no deployment data
Solution: Verify workflow steps include kind: deploy annotations and specify target environments. Check that environments are configured and associated with components.
Problem: Flow metrics display incomplete data
Solution: Confirm Jira integration is active and analytics configuration maps issue types correctly. Verify commit messages include Jira issue keys for correlation.
Problem: Security insights show no scan results
Solution: Check that security scanners publish results in supported formats and that workflow runs complete successfully. Verify scanner configuration and output formatting.
Problem: Test insights display no test data
Solution: Confirm test result publishing actions are configured in workflows and that test executions generate supported result formats.
Maintain analytics data quality
Establish ongoing practices to ensure analytics dashboards provide accurate performance insights.
Monitor integration health
Regular monitoring prevents analytics data gaps from integration failures.
-
Check integration status weekly in .
-
Monitor integration connection health indicators.
-
Refresh authentication credentials before expiration.
-
Update integration configurations when external tools change.
Set up notifications for integration failures to address data collection issues promptly.
Update analytics configuration
Analytics configuration requires maintenance as Jira projects and workflow patterns evolve. To maintain analytics configuration:
-
Review flow item mappings quarterly:
-
Verify Jira issue types remain correctly categorized.
-
Add mappings for new issue types.
-
Update status mappings as workflow processes change.
-
-
Expand analytics scope to new components and teams:
-
Configure analytics settings for new components.
-
Add environment associations for new deployment targets.
-
Extend integration coverage to additional repositories.
-
Regular configuration updates ensure analytics accuracy as your development practices evolve.