Skip to content

Commit 6458085

Browse files
author
Gonchik Tsymzhitov
committed
Jira: Polish method
1 parent 02cc3dc commit 6458085

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

atlassian/jira.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,17 +1784,15 @@ def assign_priority_scheme_for_project(self, project_key_or_id, priority_scheme_
17841784

17851785
def get_priority_scheme_of_project(self, project_key_or_id, expand=None):
17861786
"""
1787-
Resource for associating notification schemes and projects.
1788-
Gets a notification scheme associated with the project.
1789-
Follow the documentation of /notificationscheme/{id} resource for all details about returned value.
1787+
Resource for associating priority scheme schemes and projects.
17901788
:param project_key_or_id:
17911789
:param expand: notificationSchemeEvents,user,group,projectRole,field,all
17921790
:return:
17931791
"""
17941792
params = {}
17951793
if expand:
17961794
params["expand"] = expand
1797-
url = "rest/api/2/project/{}/notificationscheme".format(project_key_or_id)
1795+
url = "rest/api/2/project/{}/priorityscheme".format(project_key_or_id)
17981796
return self.get(url, params=params)
17991797

18001798
# Application properties

0 commit comments

Comments
 (0)