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, getType
public CurrentAssignee(JiraAuthenticationContext jiraAuthenticationContext)
public List<NotificationRecipient> getRecipients(IssueEvent event, String argument)
NotificationType
event
- The event, eg. issue createdargument
- Configuration from notification scheme, eg. group name, custom field id.NotificationRecipient
s.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()
NotificationType
Copyright © 2002-2017 Atlassian. All Rights Reserved.