| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 422b163 commit c305459
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -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() | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -14,6 +14,7 @@ Contents: | |||
| 14 | 14 | install | |
| 15 | 15 | cli | |
| 16 | 16 | api-usage | |
| 17 | + faq | ||
| 17 | 18 | upgrade-from-0.10 | |
| 18 | 19 | api/modules | |
| 19 | 20 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments