All eazyBI for Jira eazyBI for Confluence Private eazyBI

DevOps data import
eazyBI for Jira

Bitbucket and Bambo data import are available for Jira Server and Jira Data Center. 

Jenkins data import is available in eazyBI for Jira Cloud and starting from version 6.5 on the server.

On this page:

DevOps source data

If you have Bitbucket and Bamboo servers linked to Jira with application links or you are managing builds with Jenkins related to the Jira Cloud issues, then you can select the import DevOps data option in tab Add-ons.

Bitbucket and Bamboo source configuration for Jira Server and Data Center

In case there are several Bitbucket or Bamboo application links in your Jira instance, you can choose from which server you wish to import the data to eazyBI. Bitbucket and Bamboo project names that match Jira project names will be offered for import automatically. If the names differ, you can search the Bitbucket [1] and Bamboo projects [2] with issue links to projects imported in this eazyBI account. 

Besides the project import, you can specify which issue types are Incidents [3]. Other issue types will be considered to be Change issues in the pre-defined DevOps calculations.

The DevOps data are imported incrementally, and only the new data will be processed with each import. 

If Jira, Bitbucket, and Bamboo do not have common user management, then the user who has authorized eazyBI data import in the account, before importing DevOps metrics to eazyBI, has to go to one of Jira issues and in the development properties section authorize the access by clicking on the Bitbucket / Bamboo property.

To also allow access from Bamboo to Jira, from the Bamboo build screen user has to navigate to the Issue tab and click on Login & approve.

 

The above actions need to be performed by each user who has authorized import in any account that imports DevOps metrics.

Jenkins source configuration Jira Cloud

Please enable the Jenkins data import for your Jira Cloud site in eazyBI advanced settings:

[jira.devops]
jenkins_enable = true

Once the Jenkins data import is enabled, you can select Jenkins data import in the account. For data import from Jenkins, specify the connection to Jenkins [1]: Jenkins URL, Jenkins username, and API token or password. Then select specific Jenkins Projects[2] with references to imported Jira issues. 

Specify which issue types are Incidents [3]. Other issue types will be considered as Change issues in the pre-defined DevOps calculations.

eazyBI imports data from builds containing pull requests using issue keys from the pull request name to match imported Jira data.

Imported measures and properties

DevOps measures

Issue level metrics will link to the issues that have the issue key specified in Bitbucket Pull Requests or tied to Bamboo Builds/Deployments or Jenkins Builds.

Min and Max values display on issue level finding the pull requests and builds of the issue. The average values show only on the Project level as one pull request can be related to several issues, and several issues can link to one pull request. On the Project level, the average calculation finds the total time as described for each measure and divides it by total pull requests per project.

Build min, max, and avg execution duration

Bamboo or Jenkins build execution time in seconds.

Builds created

Count of Bamboo or Jenkins builds for pull requests related to the issue.

Deployment min, max, and avg execution duration

Bamboo deployment execution time in seconds.

Deployments created

Count of Bamboo deployments for builds related to the issue.

Pull request min, max, and avg build wait time

The time between pull request closed date and build creation date.

Pull request min, max, and avg deploy wait time

The time between pull request closed date and deployment creation date.

Pull request min, max, and avg development time

The time between the first commit time and pull request creation in Bitbucket.

Pull request min, max, and avg review time

The time between pull request created and closed dates.

Pull requests merged

Bitbucket pull requests merged count. eazyBI imports only those pull requests that have issue key linked to it (either in the title, comment, or in the commit message). In this way, eazyBI can display the pull requests on the issue-level.

Average change build lead time

The average time it takes from the first commit until the build completed in Bamboo.

Average change deploy lead time

The average time it takes from the first commit until the deploy completed in Bamboo.

Average Mean Recovery Time

Average resolution days for incidents (issues with pre-defined incident issue types).

Average Mean Time to Change

Average days from issue creation to resolution for issues that are not with Incident issue type.

Build change failure rate %

How often are incidents discovered during build creation? Incidents raised divided by Builds created.

Incidents raised

Issues created in Jira with pre-defined Incident issue types.

Incidents resolved

Jira issues resolved with pre-defined Incident issue types.

Open incidents

Jira open issues with pre-defined Incident issue types.

DevOps calculated members

Calculated members in Issue type dimension

Change issue typesAll issue types that are not specified as incident issues in the DevOps import screen.
Incident issue typesAn aggregate of all issue types that are defined as incidents in DevOps import screen.

Hidden dimensions

There are several DevOps data related dimensions that are not visible in the UI. They are listed here so you can use them in the calculations:

  • Pull Request
  • Build Result
  • Release
  • Environment
  • Deployment

Sample reports and dashboard

If you have selected to Import sample reports, eazyBI will create several DevOps report examples in a new folder named Samples DevOps. In this folder, you will find a collection of most essential DevOps metric examples - from Build, Deployment frequency to Change lead time, failure rate, mean time to recovery. The metrics combine from already existing Jira issue data in the cube (Incident and Change issue life cycle) as well as BitBucket, Bamboo, and Jenkins data described above. eazyBI will automatically filter the reports to show the top three projects.

eazyBI also organizes the sample reports in one SampleDevOps metrics dashboard. It gives an overview of the DevOps processes in these top three DevOps projects.

Standard DevOps metrics require data of the full Issue life cycle. eazyBI will create measures and sample reports for imported data set - Pull requests, and Builds. Some measures and reports require both data sets and will not be created if some data will be missing. The DevOps dashboard will be created if there are data for the full request life cycle.

If you would like to customize some reports, then save them and change the name (as eazyBI overwrites the default sample reports during each Jira import).