Skip to content

Atlassian: Get notification scheme

Atlassian issueNotificationSchemes.getNotificationScheme: arguments, response, policy and SDK examples.

← Issue notification schemes operations · Get started

Operation atlassian.getnotificationscheme

Provider route: GET /{cloudId}/rest/api/3/notificationscheme/{id}. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/atlassian with npm, or alter-sdk-atlassian with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { AtlassianIntegration } from "@alter-ai/atlassian";
async function execute(input: Parameters<AtlassianIntegration["issueNotificationSchemes"]["getNotificationScheme"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new AtlassianIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.issueNotificationSchemes.getNotificationScheme(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_atlassian import AtlassianIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = AtlassianIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.issue_notification_schemes.get_notification_scheme(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.cloudIdstringRequired within parentPattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$
path.idintegerRequired within parentFormat: int64
queryobjectOptionalAdditional keys: not allowed
query.expandstringOptional

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$ModelRootExpand Get notification scheme — response body

Referenced models: Get notification scheme — response body

12 more schemas are linked from the tables above, on the schema pages.

Get notification scheme — response body
FieldTypePresenceDescription and constraints
$objectRootDetails about a notification scheme.
descriptionJSONOptional
description (anyOf 1)stringAlternativeThe description of the notification scheme.
description (anyOf 2)nullAlternative
expandJSONOptional
expand (anyOf 1)stringAlternativeExpand options that include additional notification scheme details in the response.
expand (anyOf 2)nullAlternative
idJSONOptional
id (anyOf 1)JSONAlternative
id (anyOf 1) (anyOf 1)integerAlternativeThe ID of the notification scheme.
Format: int64
id (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
id (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeThe name of the notification scheme.
name (anyOf 2)nullAlternative
notificationSchemeEventsJSONOptional
notificationSchemeEvents (anyOf 1)arrayAlternativeThe notification events and associated recipients.
notificationSchemeEvents (anyOf 1)[]ModelEach itemExpand Get notification scheme — response body — notification Scheme Events The notification events and associated recipients item
notificationSchemeEvents (anyOf 2)nullAlternative
projectsJSONOptional
projects (anyOf 1)arrayAlternativeThe list of project IDs associated with the notification scheme.
projects (anyOf 1)[]JSONEach item
projects (anyOf 1)[] (anyOf 1)integerAlternativeFormat: int64
projects (anyOf 1)[] (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
projects (anyOf 2)nullAlternative
scopeJSONOptional
scope (anyOf 1)ModelAlternativeExpand Get status — response body — scope project, type
The scope of the notification scheme.
scope (anyOf 2)nullAlternative
selfJSONOptional
self (anyOf 1)stringAlternative
self (anyOf 2)nullAlternative

Referenced models: Get notification scheme — response body — notification Scheme Events The notification events and associated recipients item, Get status — response body — scope project, type

Get notification scheme — response body — notification Scheme Events The notification events and associated recipients item
FieldTypePresenceDescription and constraints
$objectRootDetails about a notification scheme event.
eventJSONOptional
event (anyOf 1)ModelAlternativeExpand Get notification scheme — response body — notification Scheme Events The notification events and associated recipients item event Details about a notification event
event (anyOf 2)nullAlternative
notificationsJSONOptional
notifications (anyOf 1)arrayAlternative
notifications (anyOf 1)[]ModelEach itemExpand Get notification scheme — response body — notification Scheme Events The notification events and associated recipients item notifications array item
notifications (anyOf 2)nullAlternative

Referenced models: Get notification scheme — response body — notification Scheme Events The notification events and associated recipients item notifications array item, Get notification scheme — response body — notification Scheme Events The notification events and associated recipients item event Details about a notification event

Get status — response body — scope project, type
FieldTypePresenceDescription and constraints
$objectRootThe projects the item is associated with. Indicated for items associated with [next-gen projects](https://confluence.atlassian.com/x/loMyO).
Additional keys: allowed
projectJSONOptional
project (anyOf 1)ModelAlternativeExpand Get issue type screen scheme projects — response body — values The list of items item
The project the item has scope in.
Read only: true
project (anyOf 2)nullAlternative
typeJSONOptional
type (anyOf 1)stringAlternativeThe type of scope.
Known values: PROJECT, TEMPLATE
Read only: true
type (anyOf 2)nullAlternative

Referenced models: Get issue type screen scheme projects — response body — values The list of items item

Get notification scheme — response body — notification Scheme Events The notification events and associated recipients item notifications array item
FieldTypePresenceDescription and constraints
$objectRootDetails about a notification associated with an event.
emailAddressJSONOptional
emailAddress (anyOf 1)stringAlternativeThe email address.
emailAddress (anyOf 2)nullAlternative
expandJSONOptional
expand (anyOf 1)stringAlternativeExpand options that include additional event notification details in the response.
expand (anyOf 2)nullAlternative
fieldJSONOptional
field (anyOf 1)ModelAlternativeExpand Create custom field — response body
The custom user or group field.
field (anyOf 2)nullAlternative
groupJSONOptional
group (anyOf 1)ModelAlternativeExpand Get user groups — response body — item
The specified group.
group (anyOf 2)nullAlternative
idJSONOptional
id (anyOf 1)JSONAlternative
id (anyOf 1) (anyOf 1)integerAlternativeThe ID of the notification.
Format: int64
id (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
id (anyOf 2)nullAlternative
notificationTypeJSONOptional
notificationType (anyOf 1)stringAlternativeIdentifies the recipients of the notification.
Known values: CurrentAssignee, Reporter, CurrentUser, ProjectLead, ComponentLead, User, Group, ProjectRole, EmailAddress, AllWatchers, UserCustomField, GroupCustomField
notificationType (anyOf 2)nullAlternative
parameterJSONOptional
parameter (anyOf 1)stringAlternativeAs a group's name can change, use of `recipient` is recommended. The identifier associated with the `notificationType` value that defines the receiver of the notification, where the receiver isn't implied by `notificationType` value. So, when `notificationType` is:

* `User` The `parameter` is the user account ID.
* `Group` The `parameter` is the group name.
* `ProjectRole` The `parameter` is the project role ID.
* `UserCustomField` The `parameter` is the ID of the custom field.
* `GroupCustomField` The `parameter` is the ID of the custom field.
parameter (anyOf 2)nullAlternative
projectRoleJSONOptional
projectRole (anyOf 1)ModelAlternativeExpand Create project role — response body
The specified project role.
projectRole (anyOf 2)nullAlternative
recipientJSONOptional
recipient (anyOf 1)stringAlternativeThe identifier associated with the `notificationType` value that defines the receiver of the notification, where the receiver isn't implied by the `notificationType` value. So, when `notificationType` is:

* `User`, `recipient` is the user account ID.
* `Group`, `recipient` is the group ID.
* `ProjectRole`, `recipient` is the project role ID.
* `UserCustomField`, `recipient` is the ID of the custom field.
* `GroupCustomField`, `recipient` is the ID of the custom field.
recipient (anyOf 2)nullAlternative
userJSONOptional
user (anyOf 1)ModelAlternativeExpand Add comment — response body — author account Id, account Type, active, avatar Urls, display Name, email Address, key, name, self, time Zone
The specified user.
user (anyOf 2)nullAlternative

Referenced models: Create custom field — response body, Get user groups — response body — item, Create project role — response body, Add comment — response body — author account Id, account Type, active, avatar Urls, display Name, email Address, key, name, self, time Zone

SDK function policy ID: atlassian.getnotificationscheme. Catalog operation: getnotificationscheme. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Required provider scopes: ["manage:jira-configuration"]

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.