Sub-task Elapsed Time Calculator custom field

This page is about JEP for Jira DC. Using Cloud? Click here.

The Sub-task Elapsed Time Calculator lets you track time across all sub-tasks grouped by your specified JQL queries. For example, you can calculate the time spent on sub-tasks based on issue types like Development, Analysis, and Test.

You can add multiple groups by defining JQL queries (for example, issuetype = Development), and the custom field will calculate the time passed for sub-tasks within each group, broken down by users. Clicking on the field will show user details. Here's a snapshot for reference:

Step 1: Create a Sub-task Elapsed Time Calculator custom field

  1. From Jira settings, navigate to Manage Apps.

  2. From the side menu, find Enhancer Plugin for JIRA.

  3. Click Custom Field Configuration.

  4. Click the Add new JEP custom field button.

  5. Click the Duration tab on the left-hand side of the dialogue. 

  6. Select Sub-task Elapsed Time Calculator, then click Add custom field.

    0462019d-495d-4290-a3be-21c206276015.png

Step 2: Configure the field

  1. Fill in the dialog box:

 

  • Name – Create a name for the custom field (this will appear on screens and can be used in JQL).

  • Config – You can add different configurations for this custom field by clicking the + icon and adding every group you want to see separately (for example, development tasks, analysis tasks, test tasks, etc.).

  • Start/End – Select the origin and target events, they can be any status or an event like Resolution and Reopening regardless of status.

  • Working calendar – Choose a working calendar (defined in Jira Admin > Manage apps > ENHANCER PLUGIN FOR JIRA > Calendars) to calculate time based on specific work hours.

  • Occurance – This can be set to display only the first or last occurrence, or an aggregated result with the Cumulative option. 

    • Latest Origin – Tick this checkbox if you want to calculate the duration from the latest origin status. For instance, assume you have a workflow of Open - In Progress - Resolved - Closed, and you want to calculate the working duration from Open to Resolved. If the issue's status has been set to Open - In Progress - Open - In Progress - Resolved (in this order) and you want to calculate time from the latest Open, you should enable the Latest Origin flag. Otherwise, it will calculate from the first Open status in issue history.

  • JQL – Type a JQL to get aggregated results for the group.

  • Time format –  Configure the display options (both for the issue main view, navigator view, and board view). The Use Separator lets you define your own separator for the time display. You can also choose to not have a separator.

  • Pause statuses – Select the statuses in which you want to pause the timer.

  1. Click the Save custom field button.

You must link the custom field with the appropriate screens to see them. For more information, refer to the Jira documentation.