Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get full notification scheme details

Returns a full representation of the notification scheme for the given id. This resource will return a notification scheme containing a list of events and recipient configured to receive notifications for these events. Consumer should allow events without recipients to appear in response. User accessing the data is required to have permissions to administer at least one project associated with the requested notification scheme. Notification recipients can be:

  • current assignee - the value of the notificationType is CurrentAssignee
  • issue reporter - the value of the notificationType is Reporter
  • current user - the value of the notificationType is CurrentUser
  • project lead - the value of the notificationType is ProjectLead
  • component lead - the value of the notificationType is ComponentLead
  • all watchers - the value of the notification type is AllWatchers <li>configured user - the value of the notification type is User. Parameter will contain key of the user. Information about the user will be provided if <b>user</b> expand parameter is used.
  • configured group - the value of the notification type is Group. Parameter will contain name of the group. Information about the group will be provided if <b>group</b> expand parameter is used.
  • configured email address - the value of the notification type is EmailAddress, additionally information about the email will be provided.
  • users or users in groups in the configured custom fields - the value of the notification type is UserCustomField or GroupCustomField. Parameter will contain id of the custom field. Information about the field will be provided if <b>field</b> expand parameter is used.
  • configured project role - the value of the notification type is ProjectRole. Parameter will contain project role id. Information about the project role will be provided if <b>projectRole</b> expand parameter is used. Please see the example for reference. The events can be Jira system events or events configured by administrator. In case of the system events, data about theirs ids, names and descriptions is provided. In case of custom events, the template event is included as well.
GET/api/2/notificationscheme/{id}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
idinteger<int64>required

The id of the notification scheme to retrieve

Query parameters
expandstring

Optional information to be expanded in the response: group, user, projectRole or field.

Responses
200

Returns a full representation of the notification scheme with given id

descriptionstring
expandstring
idinteger<int64>
namestring
notificationSchemeEventsobject
selfstring
404

The notification scheme does not exist, or is not visible to the calling user

Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/notificationscheme/0' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "description": "description",
  "expand": "string",
  "id": 10100,
  "name": "notification scheme name",
  "notificationSchemeEvents": {},
  "self": "http://www.example.com/jira/rest/api/2/notificationscheme/10100"
}

Was this page helpful?