Set Time Tracking Item to a billed state
Hi there,
we use Youtrack since some weeks in our company and we think it´s a great tool, thanks for that! :-) But one feature is missing (or we didn´t find it yet). The traked time in the issues is the basics for our billing. We want to create an invoice for all finished features and Tasks we resolved in a month for a customer. But not all tracked time is accountable (e.g. for some research tasks). So we´d like to have a kind of custom field "billed" for every time tracking with the values "yes, no, not billable". This custom field we,d like to use as a criteria in our time tracking reports. When an item is billed, we´d like to set it to "billed - yes" and so we know it´s done.
Is this possible in any way? If not, do you have a kind of alternative way to achieve this?
Thanks in advance, Robert
Please sign in to leave a comment.
Hello Robert,
Thank you for your kind words!
Did I get it right that you'd like to set the "billed" field automatically with each added work item (time tracking entry)? Or do you want the users to force setting the "billed" field after they'd added a work item?
If yes, this can be achieved with the workflows (https://www.jetbrains.com/help/youtrack/standalone/Quick-Start-Guide-Workflows-JS.html). I believe you'll need an on-change rule which will trigger on adding a work item (ctx.issue.workitems.added.isNotEmpty()), please refer to https://www.jetbrains.com/help/youtrack/standalone/Workflow-Rules.html#on-change-rules and to https://www.jetbrains.com/help/youtrack/standalone/Default-Workflows.html for examples.
Please let me know if I am missing anything.
Question to the Jetbrains Team: Is it planned to extend the time tracking to create custom fields like for issues? Maybe this task is on the roadmap?
Hi Anastasia,
thanks for your answer. Currently each time tracking entry has the following attributes:
We need for the time tracking entry object an additional attribute (like the custom fields we can create for issues). This new attribute "billed" should have the following values:
We also want to use this new attribute "billed" as filter in the time tracking reports. So that we can list all time tracking entries that are not billed yet. After billing them we want to set the attribute "billed" to "yes" so that we know it is billed.
I hope this makes it more clear.
Best regards, Robert
Hi Anastasia,
do you maybe have some information for me regarding my above question?
Best regards, Robert
I got it now, thanks. There is no way to do it, unfortunately. Please feel free to upvote the corresponding feature request to increase its priority: https://youtrack.jetbrains.com/issue/JT-23409.
Hi Anastasia, thanks and I did the vote for this feature request.