STAGIL User Time Account

 

Usage

For summing up logged time of a user and to calculate overtime and undertime in combination with STAGIL Required Work Log.

 

Create a STAGIL User Time Account field

Go to JIRA Administration → Issues → Custom Fields → Add Custom Field and choose STAGIL User Time Account.

Type a Name and optional a Description. Press Create.

Configure a STAGIL User Time Account field

Go to your custom field and press configure on the right side. Press Edit STAGIL User Time Account.

You have two tabs for configuration: Logged and Required (optional).

Logged Tab

Select the User field from whom the logged time should be displayed in this field. You can choose between Assignee and Reporter of the current issue.

Select the Period of the tracked time. You can select the following possibilities: Current DayCurrent WeekLast WeekCurrent MonthLast MonthCurrent YearLast Year, Current Year until now, Current month until now, First day of work until now and First Day of Work until end of last month. If you choose First day of work until now, the Required Tab is not optional anymore.

In the JQL field you can provide JQL to choose issue, from which you get work log.

Choose the Refresh interval to set the recalculation points. You can choose between Real Time or CRON.

For CRON you have the possibility to save the CRON Expression and another CRON JQL for which issues the CRON will be running.

In Billed hours you can select All work logs or Tempo Billed hours if you have licensed TEMPO Add-on.

Required (optional) Tab

Reduce logged work sum

You can leave the checkbox reduce logged work sum by required work unmarked, if you want to sum up all logged work.

Please mark the checkbox if you want to reduce logged work by the default working hours per user.

Select Required User Work Log Customfield, which should be placed on the Contract the issue is linked to.

Select Link to Contract, which connects this issue to the contract where the working time is based on. 

Select Contract Start Date Customfield where the beginning of the Contract is stored.

Select Contract End Date Customfield, where the end of the Contract is stored.

 Over time Pay JQL

You can reduce the work log sum by the added original estimation of issue given by these JQL. For example: issuetype = Overtimpay AND reporter =max.mustermann. 

Examples

Here is an example of calculating the logged work of the current month and the overtime of the current month for the employee Max Mustermann. In the related Work Contract you can see the Required User Work Log Field and the Contract Dates.

Here are the configurations of the custom fields Logged work current month and Overtime current month.

 

© 2023, STAGIL