8
8
9
9
10
10
class Insight (AtlassianRestAPI ):
11
+
11
12
"""Insight for Jira API wrapper."""
12
13
13
14
# https://insight-javadoc.riada.io/insight-javadoc-8.6/insight-rest/
@@ -155,6 +156,7 @@ def add_comment_to_object(self, comment, object_id, role):
155
156
def get_comment_of_object (self , object_id ):
156
157
"""
157
158
The object id to fetch comments from
159
+
158
160
:param object_id:
159
161
:return:
160
162
"""
@@ -184,6 +186,7 @@ def get_icon_by_id(self, icon_id):
184
186
def get_all_global_icons (self ):
185
187
"""
186
188
All existing global icons
189
+
187
190
:return:
188
191
"""
189
192
url = self .url_joiner (self .api_root , "icon/global" )
@@ -206,6 +209,7 @@ def start_import_configuration(self, import_id):
206
209
def reindex_insight (self ):
207
210
"""
208
211
Should the reindex clean the index before doing the reindex
212
+
209
213
:return:
210
214
"""
211
215
if self .cloud :
@@ -216,6 +220,7 @@ def reindex_insight(self):
216
220
def reindex_current_node_insight (self ):
217
221
"""
218
222
Should the reindex clean the index before doing the reindex
223
+
219
224
:return:
220
225
"""
221
226
if self .cloud :
@@ -332,7 +337,7 @@ def get_object_history(self, object_id, asc=False, abbreviate=True):
332
337
params = {"asc" : asc , "abbreviate" : abbreviate }
333
338
url = self .url_joiner (self .api_root , "object/{id}/history" .format (id = object_id ))
334
339
return self .get (url , params = params )
335
-
340
+
336
341
@deprecated (version = "3.29.0" , reason = "Use get_object_reference_info()" )
337
342
def get_object_referenceinfo (self , object_id ):
338
343
"""Let's use the get_object_reference_info()"""
0 commit comments