diff options
author | Derek Campbell <dscamp@gmail.com> | 2015-02-20 09:20:42 -0400 |
---|---|---|
committer | Derek Campbell <dscamp@gmail.com> | 2015-02-20 09:20:42 -0400 |
commit | 874640123b9b508fef40d4285a7c28d7e4653dd7 (patch) | |
tree | 3487d81380293702bc8abbf2566010a667c2f790 /doc/api | |
parent | 6b0199ffc1c8e6a79b68a510052a1d1713afc29d (diff) | |
download | gitlab-ce-874640123b9b508fef40d4285a7c28d7e4653dd7.tar.gz |
To close an issue you must set 'state_event' to 'close'. I cannot set 'closed' to '1'.
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/issues.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/issues.md b/doc/api/issues.md index 5a2f6a4c229..a7dd8b74c35 100644 --- a/doc/api/issues.md +++ b/doc/api/issues.md @@ -208,7 +208,7 @@ If an error occurs, an error number and a message explaining the reason is retur ## Delete existing issue (**Deprecated**) -The function is deprecated and returns a `405 Method Not Allowed` error if called. An issue gets now closed and is done by calling `PUT /projects/:id/issues/:issue_id` with parameter `closed` set to 1. +The function is deprecated and returns a `405 Method Not Allowed` error if called. An issue gets now closed and is done by calling `PUT /projects/:id/issues/:issue_id` with parameter `state_event` set to `close`. ``` DELETE /projects/:id/issues/:issue_id |