Extending the REST API and Export to CSV with pull request Cycle Time data

In this version, we have expanded the functionality of the REST API to include pull request Cycle Time data and export it to CSV format easily along with other pull request details. The data includes the Cycle Time total and also each of the Cycle Time phases for each pull request measured in seconds. This improvement is designed to streamline the process of calculating, aggregating, and integrating this valuable data into your workflows and analyses. 

Now, you can retrieve this data in JSON format by adding the withCycleTime=true parameter to any of the Get pull requests resources on global, project, repository, and user levels. To obtain this data in a preformatted CSV report, you just need to use one of the Export to CSV resources, available at each of the four levels as well. You can find more details in the documentation.

We've also included the Cycle Time information in the report that you can get from the People page -> Export -> CSV to make it more convenient for you. Learn more about it.

Compatibility changes

Beginning with this version, the app compatibility changes to only support Bitbucket version 7.6 or higher. This change will enable us to deliver new functionality faster and enhance the user experience.