We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 422b163 commit c305459Copy full SHA for c305459
docs/faq.rst
@@ -0,0 +1,15 @@
1
+###
2
+FAQ
3
4
+
5
+How can I close or reopen an issue?
6
+===================================
7
8
9
+Set the issue ``state_event`` attribute to ``close`` or ``reopen`` and save the object:
10
11
+.. code-block:: python
12
13
+ issue = my_project.issues.get(issue_id)
14
+ issue.state_event = 'close'
15
+ issue.save()
docs/index.rst
@@ -14,6 +14,7 @@ Contents:
install
cli
16
api-usage
17
+ faq
18
upgrade-from-0.10
19
api/modules
20
0 commit comments