Obtaining monthly data of review creation
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
To obtain the number of reviews created monthly using a SQL query with field "cru_create_date" of the table "cru_review".
Run the following SQL query example(remember to change "xxxxxxx" to own date) against Fisheye/Crucible database:
1
2
3
4
5
6
SELECT cru_default_source FROM cru_review
WHERE (
( cru_create_date < xxxxxxx ) and ( cru_create_date > xxxxxxx )
and
( cru_state != 'Dead' )
);
Field "cru_create_date" uses unix time type which means that date format is in milliseconds and you'll need a convertor.
Was this helpful?