public class ProjectNotificationSchemeApi extends Object
| Constructor and Description |
|---|
ProjectNotificationSchemeApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<NotificationScheme> |
getNotificationScheme(String projectKeyOrId,
Optional<String> expand,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get project notification scheme
Gets a notification scheme associated with the project.
|
public ProjectNotificationSchemeApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<NotificationScheme> getNotificationScheme(String projectKeyOrId, Optional<String> expand, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Gets a notification scheme associated with the project. See the Get notification scheme resource for more information about notification schemes.
Permissions required: Administer Jira global permission or Administer Projects project permission.
projectKeyOrId - The project ID or project key (case sensitive).
(required)expand - Use expand to include additional information in the response. This parameter accepts multiple values separated by a comma:
all Returns all expandable information.field Returns information about any custom fields assigned to receive an event.group Returns information about any groups assigned to receive an event.notificationSchemeEvents Returns a list of event associations. This list is returned for all expandable information.projectRole Returns information about any project roles assigned to receive an event.user Returns information about any users assigned to receive an event.restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.