File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,15 @@ List a group's projects::
31
31
32
32
projects = group.projects.list()
33
33
34
+ .. note ::
35
+
36
+ ``GroupProject `` objects returned by this API call are very limited, and do
37
+ not provide all the features of ``Project `` objects. If you need to
38
+ manipulate projects, create a new ``Project `` object::
39
+
40
+ first_group_project = group.projects.list()[0]
41
+ manageable_project = gl.projects.get(first_group_project.id, lazy=True)
42
+
34
43
You can filter and sort the result using the following parameters:
35
44
36
45
* ``archived ``: limit by archived status
@@ -76,11 +85,14 @@ List the subgroups for a group::
76
85
77
86
subgroups = group.subgroups.list()
78
87
79
- # The GroupSubgroup objects don't expose the same API as the Group
80
- # objects. If you need to manipulate a subgroup as a group, create a new
81
- # Group object:
82
- real_group = gl.groups.get(subgroup_id, lazy=True)
83
- real_group.issues.list()
88
+ .. note ::
89
+
90
+ The ``GroupSubgroup `` objects don't expose the same API as the ``Group ``
91
+ objects. If you need to manipulate a subgroup as a group, create a new
92
+ ``Group `` object::
93
+
94
+ real_group = gl.groups.get(subgroup_id, lazy=True)
95
+ real_group.issues.list()
84
96
85
97
Group custom attributes
86
98
=======================
You can’t perform that action at this time.
0 commit comments