public class CurrentAssignee extends AbstractNotificationType
| Constructor and Description |
|---|
CurrentAssignee(JiraAuthenticationContext jiraAuthenticationContext) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName()
Text to display for this type, on the "Add Notification" page.
|
protected ApplicationUser |
getPreviousAssignee(IssueEvent event)
Designed to be overrriden for testing.
|
List<NotificationRecipient> |
getRecipients(IssueEvent event,
String argument)
Who is to be notified of an event.
|
doValidation, getArgumentDisplay, getArgumentValue, getTypepublic CurrentAssignee(JiraAuthenticationContext jiraAuthenticationContext)
public List<NotificationRecipient> getRecipients(IssueEvent event, String argument)
NotificationTypeevent - The event, eg. issue createdargument - Configuration from notification scheme, eg. group name, custom field id.NotificationRecipients.protected ApplicationUser getPreviousAssignee(IssueEvent event)
TODO this could be improved by carrying the changes themselves in the IssueEvent instead of a change group GV and hence a DB interaction is required
event - the issue event in playpublic String getDisplayName()
NotificationTypeCopyright © 2002-2019 Atlassian. All Rights Reserved.