diff options
| author | Gauvain Pocentek <gauvain@pocentek.net> | 2016-06-08 22:30:55 +0200 |
|---|---|---|
| committer | Gauvain Pocentek <gauvain@pocentek.net> | 2016-06-08 22:30:55 +0200 |
| commit | c3054592f79caa782ec79816501335e9a5c4e9ed (patch) | |
| tree | b9ff83e3d2506f0345cb7d7db3233920bce1dd04 /docs/faq.rst | |
| parent | 422b163075189eca466077c7320b466ab39f331e (diff) | |
| download | gitlab-c3054592f79caa782ec79816501335e9a5c4e9ed.tar.gz | |
docs: start a FAQ
Diffstat (limited to 'docs/faq.rst')
| -rw-r--r-- | docs/faq.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/faq.rst b/docs/faq.rst new file mode 100644 index 0000000..7c35567 --- /dev/null +++ b/docs/faq.rst @@ -0,0 +1,15 @@ +### +FAQ +### + +How can I close or reopen an issue? +=================================== + + +Set the issue ``state_event`` attribute to ``close`` or ``reopen`` and save the object: + +.. code-block:: python + + issue = my_project.issues.get(issue_id) + issue.state_event = 'close' + issue.save() |
