Overview

Worklog Reports are all based on the same mechanism of aggregation. You will have to defined :

  • the Report Type (List of Aggregation Criteria )
  • the Criteria to use to filter Worklogs
    Note that filtering will be applied only the filter Criteria is also an Aggregation Criteria
  • and which view to use

How worklogs are displayed

Different views are predefined :

  • hierarchicView : Providing a Hierarchical display of aggregated data with expand and collapse features.
  • flatView : Providing a classical display.
  • excelView : Similar as flatView but without graphical rendering, used to export to Excel (undecorated HTML file).


Using Flat Views, the reports may display Issues with Sub-Tasks.

In such cases, the default behavior of the Flat View is to display the values associated to leaf of the aggregation tree, assuming that each parent node is just a calculation of leaf's values.

But, the both (Issues and Sub-Tasks) are able to have logged Work, and then the value displayed in Flat View is only the Sub-Task's Spent Time.

To avoid to display only the Sub-Task's Spent Time and be able to see Issue's Spent Time, a new parameter has been introduced in Reports : the Flattened Level (let me know if you find a best term !).

The Flattened Level expressed the depth of node to flat when displaying the Flat View.

By default, all nodes are flattened. For example, if your report provides an aggregation based on :
  • Category
  • Project
  • Issue

and the displayed Issues have sub-task, you will be able to force the view to flat node only on the 3 first nodes.

Hopping that this explanation is comprehensive.

How Worklogs are filtered

Each report is built with a filtered list of Worklogs.


The filter is possible with below criteria.

CriteriaTypeDescription
Start DateAbsolute or Relative DateFiltered Worklog have to be equal or after this date (1)
End DateAbsolute or Relative DateFiltered Worklog have to be equal or before this date (1)
CategoryIntegerProject Category Id. to use in filtering (2)
ProjectIntegerProject Id. to use in filtering (2)
DeveloperUser or Group NameDeveloper (Worker or author) having entered the Worklog (2)(3)
  • (1) Date Criteria support Relative Dates.
  • (2) At least one of this criteria have to be selected. Selected values have to be valid for Category and Project.
  • (3) If a Group is specified, the filter will take in account each Group's members.

Since Minyaa 3.3.2, the Worklog are now also filtered depending on permissions
  • Is the current user allowed to browse the Project (BROWSE_PROJECT Permission)
  • Is the current user allowed to browse the Issue (Issue Securities levels)
  • Is the current user allowed to browse the Worklog (BROWSE_WORKLOGS Permission)

Relative Date Operations

Supported Relative Date Operations

Date criteria may be filled with a relative Date format. The format follows below codification :

CodeValue Description
NOWToday (Current Date and Time)
DATEDate passed in parameter
BOWBegin Of Week
EOWEnd Of Week
BOMBegin Of Month
EOMEnd Of Month
BOQBegin Of Quarter
EOQEnd Of Quarter
BOSBegin Of Semester
EOSEnd Of Semester
BOYBegin Of Year
EOYEnd Of Year
+1DDay
+1BBusiness Day
+1WWeek
+1MMonth
+1QQuarter
+1SSemester
+1YYear

Samples Relative Date Operations

This Relative Date engine is used in different part of Minyaa (Timesheet, Report Configuration), and may evaluated against a passed date or the current date. The supported syntaxes can give following samples :

Sample OperationDescription
BOW1st day of current week
BOW+3DThursday of current week
BOW(+3D)1st day of the week of (Today + 3 Days)
NOWToday
NOW+2DToday + 2 days. Can also defined "+2D"
+3BToday + 3 Business Days (Saturday and Sunday are ignored)
+15D+0BToday + 15 Days and the date is aligned on next Business Day (if resultant date is not s Business Day)
+2W-0BToday + 2 Weeks and the date is aligned on previous Business Day (if resultant date is not s Business Day)
EOY(BOQ(EOM(NOW-12W)+3D)-3Q)This formula executed for March 14' 2013, gives December 31' 2012.

You can mix all these functions if is needed ...


Which Unit are available

Most of report may be configured to change how the delay are expressed.

Different Units are proposed ...

The available formats with sample rendering for 150h logged with 8h per day and 5 days per week.

  • Using native formats of Jira
    • (2) In Jira Pretty Short format :   3w 3d 6h 30m
    • (3) In Jira Pretty Long format : 3 weeks, 3 days, 6 hours 30 minutes
    • (5) In Hour : 150.5h
    • (6) In day : 18d 6.5h
  • In other additional formats
    • (1) In Day Fraction : 18.812
    • (4) In Hour Fraction : 150.5


How Worklogs are aggregated

All provided reports are based on the same aggregation mechanism.

  • Each report performs its aggregation depending on the passed Report Type (URL parameter reportId ).
  • The Report Type may be defined by different ways :
    • Predefined, depending on each report and selectable during the Report Configuration,


    • Built using a sequence of Aggregation Criteria .

      Available Aggregation Criteria are proposed in the Workload Report - Issue report,
      The resulting URL of your report will looks like reportElementKey1=CA&reportElementKey2=PR&reportElementKey3=IS_R&reportElementKey4=IS_CQ&reportElementKey5=CA&reportElementKey6=CA.
      The reportElementKey5 and reportElementKey6 will be ignored, since CA criteria is already specified in reportElementKey1.

    • By using the Report Type (URL parameter reportId ) with as value the expected Aggregation Criteria coma separated.
      For previous sample will be  reportId=CA,PR,IS_R,IS_CQ
      Note that, when selecting a new combination of Aggregation criteria, the resulting combination will be added a new predefined Report Types for others reports.

    • The Administrator can also define/restrict default combination of aggregation (See Workload Reports in Minyaa Time Settings ).


Which Aggregation Criteria are available

Minyaa provides different Aggregation Criteria (or ReportElement) for most of fields ...

For Systems Fields

CodeReport Element Description
CAIssue's Category
PRIssue's Project
ASIssue's Assignee
RSWorklog's Author (Human Resource, Worker)
ISAny Issue linked to the Worklog
IS_TSIssue's Time Spent
IS_TEIssue's Time Estimate
IS_OEIssue's Time Original Estimate
IS_RIssue's Reporter
IS_C x Create Date

Supported code are :
  • IS_CD : by Day
  • IS_CW : by Week
  • IS_CM : by Month
  • IS_CQ : by Quarter
IS_U x Update Date

Supported code are :
  • IS_UD : by Day
  • IS_UW : by Week
  • IS_UM : by Month
  • IS_UQ : by Quarter
IS_D x Due Date

Supported code are :
  • IS_DD : by Day
  • IS_DW : by Week
  • IS_DM : by Month
  • IS_DQ : by Quarter

IS_R x

(Since xxxx.1.17)

Resolution Date

Supported code are :
  • IS_RD : by Day
  • IS_RW : by Week
  • IS_RM : by Month
  • IS_RQ : by Quarter
ST, SToSub-Task linked to the Worklog
PISOnly Parent Issue linked to the Worklog
CPIssue's Component
IVImpacted Version
FVFix Version
ITIssue's Type
PTIssue's Priority
RLIssue's Resolution
W x Worklog Details

Supported code are :
  • Worklog Author : see RS
  • Worklog Date :
    • WD : by Day
    • WW : by Week
    • WM : by Month
    • WQ : by Quarter
  • WB : Worklog Comment (Worklog Body)
  • WT : Worklog Type
  • WS : Worklog Status

For Custom Fields

 You can the customfield Id as Criteria Code

CodeReport Element Description
customfield_ 999999 Any custom field identified by its Id

Their rendering in Report depends on implemented Customfield Types

Customfield Types
com.atlassian.jira.issue.customfields.impl.SelectCFType
com.atlassian.jira.issue.customfields.MultipleSettableCustomFieldType
com.atlassian.jira.issue.customfields.MultipleCustomFieldType
com.atlassian.jira.notification.type.UserCFNotificationTypeAware
com.atlassian.jira.issue.customfields.impl.ExternalCFType
com.atlassian.jira.issue.customfields.impl.DateCFType
com.atlassian.jira.issue.customfields.impl.DateTimeCFType
com.atlassian.jira.issue.customfields.impl.AbstractMultiCFType
com.atlassian.jira.issue.customfields.impl.AbstractSingleFieldType
For any other are toString() is assumed



How to restrict available Combination of Aggregation Criteria

As Administrator, you can limit or extend the default combination of Aggregation Criteria:

  • Go to Manage Settings in Alkaes Setting section page,
  • Select Settings Tabs for WorkloadReports ,
  • You will be able to specify the Aggregation Criteria that will used (or extend existing) ... 

     
Minyaa provides different Aggregation Criteria (or ReportElement) for most of fields :    

Useful hint

See also ...

  • No labels