diff options
author | savenger <github@smahmood.de> | 2017-03-03 13:57:46 +0100 |
---|---|---|
committer | Gauvain Pocentek <gauvain@pocentek.net> | 2017-03-03 13:57:46 +0100 |
commit | 92151b22b5b03b3d529caf1865a2e35738a2f3d2 (patch) | |
tree | f29231c671394f16e3117b3ed8d5d914c4f7d144 /docs/gl_objects/issues.py | |
parent | cd696240ec9000ce12c4232db3436fbca58b8fdd (diff) | |
download | gitlab-92151b22b5b03b3d529caf1865a2e35738a2f3d2.tar.gz |
Time tracking (#222)
* Added gitlab time tracking features
- get/set/remove estimated time per issue
- get/set/remove time spent per issue
* Added documentation for time tracking functions
Diffstat (limited to 'docs/gl_objects/issues.py')
-rw-r--r-- | docs/gl_objects/issues.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/gl_objects/issues.py b/docs/gl_objects/issues.py index ad48dc8..df13c20 100644 --- a/docs/gl_objects/issues.py +++ b/docs/gl_objects/issues.py @@ -77,3 +77,23 @@ issue.move(new_project_id) # project issue todo issue.todo() # end project issue todo + +# project issue time tracking stats +issue.time_stats() +# end project issue time tracking stats + +# project issue set time estimate +issue.set_time_estimate({'duration': '3h30m'}) +# end project issue set time estimate + +# project issue reset time estimate +issue.reset_time_estimate() +# end project issue reset time estimate + +# project issue set time spent +issue.add_time_spent({'duration': '3h30m'}) +# end project issue set time spent + +# project issue reset time spent +issue.reset_time_spent() +# end project issue reset time spent |