billable non billable hours option
Asked by Ghulam Sarwar:

I need to have a field (option) in every issue type where the user can select the status of the hours spent on the particular ticket whether it is billable or nonbillable   
(can be a toggle button) it would be best if this is bind with the clock work hours   


Answers:
author: Benito Jim?nez _Sevidev_
body: Hello [@Ghulam Sarwar](/t5/user/viewprofilepage/user-id/5568833) , you can't configure worklog attributes natively in Jira, but you can use apps from the marketplace. Two examples are:

* [Clockwork Automated Time Tracking \& Timesheets Pro](https://marketplace.atlassian.com/apps/1219213/clockwork-automated-time-tracking-timesheets-pro?hosting=cloud&tab=overview)
* [Timesheets by Tempo - Jira Time Tracking](https://marketplace.atlassian.com/apps/6572/timesheets-by-tempo-jira-time-tracking?hosting=cloud&tab=overview)

Although there are more alternatives, you can search for "[worklog attributes](https://marketplace.atlassian.com/search?query=worklog%20attributes)" in the marketplace, for example.

comments: author: Benito Jim?nez _Sevidev_
body: oh I saw [@Jovin](/t5/user/viewprofilepage/user-id/5104734) answer after I wrote mine :S


author: Jovin
body: Good stuff [@Benito Jim?nez _Sevidev_](/t5/user/viewprofilepage/user-id/5571291) ! Love the tips on searching the marketplace for solutions too, something I was unaware of - another arrow in my quiver :)


author: Adaeze_Jude_HEROCODERS
body: Hi [@Ghulam Sarwar](/t5/user/viewprofilepage/user-id/5568833)

[Clockwork PRO](https://marketplace.atlassian.com/apps/1219213/clockwork-automated-time-tracking-timesheets-pro?hosting=cloud&tab=overview) is just what you need for this.

With Clockwork, you can create a Worklog attribute as Billable with the Checkbox type.

As below:

![chrome_wASch5ZZCB.png](https://community.atlassian.com/t5/image/serverpage/image-id/343363iD58187C6EFED84E6/image-size/large?v=v2&px=999 "chrome_wASch5ZZCB.png")

Users can check or uncheck this box when tracking time with Clockwork based on the type of hours tracked.

![uMoFj05vAX.png](https://community.atlassian.com/t5/image/serverpage/image-id/343364iE2154E4F9CB0B545/image-size/large?v=v2&px=999 "uMoFj05vAX.png")

Additionally, you can use this to filter the timesheet if you would like to get a report of billable hours only, as shown:

![chrome_2OERiJZCnO.png](https://community.atlassian.com/t5/image/serverpage/image-id/343365i5008DD23242946AF/image-size/large?v=v2&px=999 "chrome_2OERiJZCnO.png")

I will be happy to give you a tour of the App; if you'd like this, please reach out [here](https://herocoders.atlassian.net/servicedesk/customer/portals)

comments: author: Jovin
body: Also an elegant solution! Thanks for sharing the app [@Adaeze_Jude_HEROCODERS](/t5/user/viewprofilepage/user-id/4978590) , always great to see marketplace solutions for real world problems too!

I just love challenging myself on "can this be achieved with the base product only" ?


author: Jovin
body: Hey [@Ghulam Sarwar](/t5/user/viewprofilepage/user-id/5568833),

Unfortunately you can't add extra data to the work log out of the box in Jira, the hours logged will simply be summed up.

You could instead manage this through a custom field \& subtasks:

1. Create a custom field of "Radio Button" called "Time Type" and have options of "Billable", "Non-Billable" and "Mixed".
2. Assign this custom field to all issue types in your project

From here you can use it like this:

* A ticket that is entirely billable you'd choose "Billable" on it and log your hours.
* A ticket which has both billable and non-billable hours you would instead mark as "Mixed" and create 2 subtasks:
  * "Billable Hours" - mark the custom field as "Billable" and log work for billable time here.
  * "Non-Billable Hours" - mark the custom field as "Non-Billable" and log work for non-billable time here.

You could extend this with automation rules if you want:

* If Ticket Time Type = Mixed then Create Subtasks for each time type
* etc.

comments: author: Aron Gombas _Midori_
body: Because it was not required to specify the "Billable" flag per worklog, but per issue, I support this idea of just using a boolean-type custom field for it. Plain and simple.


Tags: cloud

jira-cloud