Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions atlassian/jira.py
Original file line number Diff line number Diff line change
Expand Up @@ -2123,6 +2123,19 @@ def get_notification_scheme(self, notification_scheme_id, expand=None):
params["expand"] = expand
return self.get(url, params=params)

def get_project_notification_scheme(self, project_id_or_key):
"""
Gets a notification scheme assigned with a project

:param project_id_or_key: str
:return: data of project notification scheme
"""
base_url = self.resource_url("project")
url = "{base_url}/{project_id_or_key}/notificationscheme".format(
base_url=base_url, project_id_or_key=project_id_or_key
)
return self.get(url)

"""
Resource for associating permission schemes and projects.
Reference:
Expand Down