In 9.0, we introduced the ability to export issues in CSV format. With this release, we are including the time estimate and time spent in the export as well, allowing you more flexibility in work and resource management for those use cases outside of GitLab.
I get the idea that like some other integrations that I've seen cropping up, since it's a SaaS platform only, it's not applicable to any private gitlab instances, that is, it can only used if you're using gitlab.com, although it might work if your "private" gitlab is internet routable, which I believe most Gitlab EEs are not.
But this solution is worth comparison-studying. I personally think Omnibus Gitlab EE should have its own timesheet solution, a "simple" opinionated (less flexible, zero or very few configuration options) solution for private Gitlab EE installs.
@regisF : Since time tracking is associated directly with issues / merge requests, and indirectly with users, let's focus on exporting issues first? (I.e., if we associate it with users, we need to check assignees, or who entered a comment to activate time tracking, etc. And we would have to make certain assumptions.) So let's do exporting time tracking info with issues first?
@victorwu we can do that indeed. However, I'm not sure that the current proposal of the issue you indicate, contains time tracking data as a first iteration.
@regisF : Sorry, yeah, I wasn't proposing on squeezing that into #1480 (closed). That's already close to being done.
I'm going to simply re-use this issue here to adding time tracking info as a next iteration. But that's only on the project list view right? And then users can simply sort/filter by user in their spreadsheet app to get user-based info.
We can then have separate issues to see if we need to do it in a group, instance level, if at all. But just having it as an update there I think already will solve many problems for customers.
1
Victor Wuchanged title from Export user time tracking information to Export issue time tracking information
changed title from Export user time tracking information to Export issue time tracking information
@smcgivern : I think simply adding two additional columns to the csv export. I don't see any other UI / customer-facing feature that needs to be updated. Thanks!
Thanks @simon.allendoerfer . Currently this is not scheduled for anyone to work on.
Since the requirements are fairly straightforward, I marked it as Accepting Merge Requests , so if you would like, you can definitely contribute code. If you are able to finish a merge request and someone on our team can review and merge it by June 7 (code freeze for 9.3), it should make it into the June 22nd (9.3) release. If you would like to work on it, please let me know, and I can assign it to you.
@DouweM : Can you please confirm that this is okay.
We are not a Ruby shop, so setting everything up and testing it, would
not make much sense for us.
As far as a quick look can tell, you only have to add something like
this (again, don't know ruby) to
app/services/issues/export_csv_service.rb in line 45.
I'll be happy to assist and review and eventual merge request, but we can only have our people work on so many things at the time, and currently this is not on our list of priorities.
@g3dinua : The existing CSV export functionality is in EES (https://docs.gitlab.com/ee/user/project/issues/csv_export.html). So this feature will also be in EES. If you are fine with the requirements in the description, you can certainly work on it, and our dev team should be able to help review your merge request. So let me know if that works, or you would like to work another feature first.
@smcgivern : I updated the description to say that the output of the time tracking fields should be in seconds. I think if this is handled in Excel, it makes sense that there is some standard, and the person using Excel can use formulas to manipulate it. So it's better than outputting someone like 3d 4h, which could be harder to manipulate. Choosing seconds is arbitrary. Thoughts?