public interface IssueDeleteHelper
Modifier and Type | Method and Description |
---|---|
void |
deleteIssue(ApplicationUser user,
Issue issue,
EventDispatchOption eventDispatchOption,
boolean sendMail)
Delete issue in context of given user.
|
void |
deleteIssueNoEvent(Issue issue)
Delete issue without firing any events, or sending notifications.
|
void deleteIssue(ApplicationUser user, Issue issue, EventDispatchOption eventDispatchOption, boolean sendMail) throws RemoveException
user
- user performing the operationissue
- issue to deleteeventDispatchOption
- event dispatching controlsendMail
- whether or not to send the emailRemoveException
- if the removal failsvoid deleteIssueNoEvent(Issue issue) throws RemoveException
This is preferred in some bulk operations, but normally you would call #deleteIssue(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.issue.Issue, com.atlassian.jira.event.type.EventDispatchOption, boolean)
issue
- issue to deleteRemoveException
- if the removal fails#deleteIssue(com.atlassian.crowd.embedded.api.User, com.atlassian.jira.issue.Issue, com.atlassian.jira.event.type.EventDispatchOption, boolean)
Copyright © 2002-2019 Atlassian. All Rights Reserved.