Get project notification scheme
GET
/rest/api/3/project/{projectKeyOrId}/notificationscheme
Projects
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://jira.local:8080/jira/rest//rest/api/3/project//notificationscheme'
Response Response Example
200 - Success
{
"expand": "notificationSchemeEvents,user,group,projectRole,field,all",
"id": 10100,
"self": "https://your-domain.atlassian.net/rest/api/3/notificationscheme",
"name": "notification scheme name",
"description": "description",
"notificationSchemeEvents": [
{
"event": {
"id": 1,
"name": "Issue created",
"description": "Event published when an issue is created"
},
"notifications": [
{
"id": 1,
"notificationType": "Group",
"parameter": "jira-administrators",
"recipient": "276f955c-63d7-42c8-9520-92d01dca0625",
"group": {
"name": "jira-administrators",
"groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
"self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
},
"expand": "group"
},
{
"id": 2,
"notificationType": "CurrentAssignee"
},
{
"id": 3,
"notificationType": "ProjectRole",
"parameter": "10360",
"recipient": "10360",
"projectRole": {
"self": "https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360",
"name": "Developers",
"id": 10360,
"description": "A project role that represents developers in a project",
"actors": [
{
"id": 10240,
"displayName": "jira-developers",
"type": "atlassian-group-role-actor",
"name": "jira-developers",
"actorGroup": {
"name": "jira-developers",
"displayName": "jira-developers",
"groupId": "952d12c3-5b5b-4d04-bb32-44d383afc4b2"
}
},
{
"id": 10241,
"displayName": "Mia Krystof",
"type": "atlassian-user-role-actor",
"actorUser": {
"accountId": "5b10a2844c20165700ede21g"
}
}
],
"scope": {
"type": "PROJECT",
"project": {
"id": "10000",
"key": "KEY",
"name": "Next Gen Project"
}
}
},
"expand": "projectRole"
},
{
"id": 4,
"notificationType": "EmailAddress",
"parameter": "rest-developer@atlassian.com",
"recipient": "rest-developer@atlassian.com",
"emailAddress": "rest-developer@atlassian.com"
},
{
"id": 5,
"notificationType": "User",
"parameter": "5b10a2844c20165700ede21g",
"recipient": "5b10a2844c20165700ede21g",
"user": {
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
"accountId": "5b10a2844c20165700ede21g",
"displayName": "Mia Krystof",
"active": false
},
"expand": "user"
},
{
"id": 6,
"notificationType": "GroupCustomField",
"parameter": "customfield_10101",
"recipient": "customfield_10101",
"field": {
"id": "customfield_10101",
"key": "customfield_10101",
"name": "New custom field",
"untranslatedName": "New custom field",
"custom": true,
"orderable": true,
"navigable": true,
"searchable": true,
"clauseNames": [
"cf[10101]",
"New custom field"
],
"schema": {
"type": "project",
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:project",
"customId": 10101
}
},
"expand": "field"
}
]
},
{
"event": {
"id": 20,
"name": "Custom event",
"description": "Custom event that is published together with an issue created event",
"templateEvent": {
"id": 1,
"name": "Issue created",
"description": "Event published when an issue is created"
}
},
"notifications": [
{
"id": 1,
"notificationType": "Group",
"parameter": "jira-administrators",
"recipient": "276f955c-63d7-42c8-9520-92d01dca0625",
"group": {
"name": "jira-administrators",
"groupId": "276f955c-63d7-42c8-9520-92d01dca0625",
"self": "https://your-domain.atlassian.net/rest/api/3/group?groupId=276f955c-63d7-42c8-9520-92d01dca0625"
},
"expand": "group"
},
{
"id": 2,
"notificationType": "CurrentAssignee"
},
{
"id": 3,
"notificationType": "ProjectRole",
"parameter": "10360",
"recipient": "10360",
"projectRole": {
"self": "https://your-domain.atlassian.net/rest/api/3/project/MKY/role/10360",
"name": "Developers",
"id": 10360,
"description": "A project role that represents developers in a project",
"actors": [
{
"id": 10240,
"displayName": "jira-developers",
"type": "atlassian-group-role-actor",
"name": "jira-developers",
"actorGroup": {
"name": "jira-developers",
"displayName": "jira-developers",
"groupId": "952d12c3-5b5b-4d04-bb32-44d383afc4b2"
}
},
{
"id": 10241,
"displayName": "Mia Krystof",
"type": "atlassian-user-role-actor",
"actorUser": {
"accountId": "5b10a2844c20165700ede21g"
}
}
],
"scope": {
"type": "PROJECT",
"project": {
"id": "10000",
"key": "KEY",
"name": "Next Gen Project"
}
}
},
"expand": "projectRole"
},
{
"id": 4,
"notificationType": "EmailAddress",
"parameter": "rest-developer@atlassian.com",
"recipient": "rest-developer@atlassian.com",
"emailAddress": "rest-developer@atlassian.com"
},
{
"id": 5,
"notificationType": "User",
"parameter": "5b10a2844c20165700ede21g",
"recipient": "5b10a2844c20165700ede21g",
"user": {
"self": "https://your-domain.atlassian.net/rest/api/3/user?accountId=5b10a2844c20165700ede21g",
"accountId": "5b10a2844c20165700ede21g",
"displayName": "Mia Krystof",
"active": false
},
"expand": "user"
},
{
"id": 6,
"notificationType": "GroupCustomField",
"parameter": "customfield_10101",
"recipient": "customfield_10101",
"field": {
"id": "customfield_10101",
"key": "customfield_10101",
"name": "New custom field",
"untranslatedName": "New custom field",
"custom": true,
"orderable": true,
"navigable": true,
"searchable": true,
"clauseNames": [
"cf[10101]",
"New custom field"
],
"schema": {
"type": "project",
"custom": "com.atlassian.jira.plugin.system.customfieldtypes:project",
"customId": 10101
}
},
"expand": "field"
}
]
}
],
"projects": [
10001,
10002
]
}
Request
Path Params
projectKeyOrId
stringÂ
required
Query Params
expand
stringÂ
optional
all
Returns all expandable informationfield
Returns information about any custom fields assigned to receive an eventgroup
Returns information about any groups assigned to receive an eventnotificationSchemeEvents
Returns a list of event associations. This list is returned for all expandable informationprojectRole
Returns information about any project roles assigned to receive an eventuser
Returns information about any users assigned to receive an eventResponses
Modified at 2023-07-13 03:27:27