@ExperimentalApi
public interface ArchivedIssueService
Modifier and Type | Interface and Description |
---|---|
static class |
ArchivedIssueService.ArchivingResult
A simple object that holds the information about an issue archive/restore operation.
|
static class |
ArchivedIssueService.ValidationResult
A simple object that holds the information about validating an archive/restore issue operation.
|
Modifier and Type | Method and Description |
---|---|
ArchivedIssueService.ArchivingResult |
archiveIssue(ArchivedIssueService.ValidationResult validation)
Mark the issue as archived and perform operation of archiving including all dependencies.
|
ArchivedIssueService.ArchivingResult |
restoreIssue(ArchivedIssueService.ValidationResult validation)
Mark the issue as not archived and perform operation of restoring including all dependencies.
|
ArchivedIssueService.ValidationResult |
validateArchiveIssue(ApplicationUser user,
String issueKey,
boolean notifyUsers)
Check if given issue can be archived by given user.
|
ArchivedIssueService.ValidationResult |
validateRestoreIssue(ApplicationUser user,
String issueKey,
boolean notifyUsers)
Check if given issue can be restored by given user.
|
ArchivedIssueService.ArchivingResult archiveIssue(ArchivedIssueService.ValidationResult validation)
IssuesArchivedEvent
.validation
- a request previously validated by
validateArchiveIssue(ApplicationUser, String, boolean)
.ArchivedIssueService.ArchivingResult restoreIssue(ArchivedIssueService.ValidationResult validation)
IssuesRestoredEvent
.validation
- a request previously validated by
validateRestoreIssue(ApplicationUser, String, boolean)
.ArchivedIssueService.ValidationResult validateArchiveIssue(ApplicationUser user, String issueKey, boolean notifyUsers)
user
- issueKey
- notifyUsers
- ArchivedIssueService.ValidationResult validateRestoreIssue(ApplicationUser user, String issueKey, boolean notifyUsers)
user
- issueKey
- notifyUsers
- Copyright © 2002-2022 Atlassian. All Rights Reserved.