Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-07-27 12:10:08 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-07-27 12:10:08 +0300
commit2458ea514066142e3ca8e5131e44925398902a77 (patch)
treee3dcfe09717dff1bda5a1cbb70239af712373580 /doc/api/issues.md
parenta246b5fffa07c75baa7363ee0dc2c031c3cbf38d (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/issues.md')
-rw-r--r--doc/api/issues.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/issues.md b/doc/api/issues.md
index 6de8912c1af..feec9b31747 100644
--- a/doc/api/issues.md
+++ b/doc/api/issues.md
@@ -1950,6 +1950,7 @@ POST /projects/:id/issues/:issue_iid/add_spent_time
| `duration` | string | yes | The duration in human format. e.g: 3h30m |
| `id` | integer/string | yes | The ID or [URL-encoded path of the project](index.md#namespaced-path-encoding) owned by the authenticated user |
| `issue_iid` | integer | yes | The internal ID of a project's issue |
+| `summary` | string | no | A summary of how the time was spent |
```shell
curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/5/issues/93/add_spent_time?duration=1h"