com.atlassian.jira.notification.type
Interface UserCFNotificationTypeAware
public interface UserCFNotificationTypeAware
CustomFieldType's should implement this interface if it wants to be
selectable from the user custom field drop down list when adding new notifications. The implementing class must
make sure that the Object returned from CustomFieldType#getValueFromIssue(CustomField, Issue)
is a User or a collection of User
to function properly.
- Since:
- v3.12
getValueFromIssue
Object getValueFromIssue(CustomField customField,
Issue issue)
- Retrieves the
User or a collection of Users
representing the current CustomField value for the given issue.
- Parameters:
customField - Custom field for which to retrieve user(s) fromissue - Issue from which to retrieve the user(s)
- Returns:
User or a collection of Users- See Also:
CustomFieldType.getValueFromIssue(com.atlassian.jira.issue.fields.CustomField, com.atlassian.jira.issue.Issue)
Copyright © 2002-2011 Atlassian. All Rights Reserved.