Skip to content

Commit 6f0dc18

Browse files
author
Gonchik Tsymzhitov
committed
A new release with Jira index status request
1 parent 1d82c75 commit 6f0dc18

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

atlassian/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.10.0
1+
3.11.0

atlassian/jira.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2805,6 +2805,16 @@ def reindex_project(self, project_key):
28052805
def reindex_issue(self, list_of_):
28062806
pass
28072807

2808+
def index_checker(self, max_results=100):
2809+
"""
2810+
Jira DC Index health checker
2811+
:param max_results:
2812+
:return:
2813+
"""
2814+
url = "/rest/indexanalyzer/1/state"
2815+
params = {"maxResults": max_results}
2816+
return self.get(url, params=params)
2817+
28082818
def get_server_info(self, do_health_check=False):
28092819
"""
28102820
Returns general information about the current Jira server.

0 commit comments

Comments
 (0)