@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)
Check if given issue can be archived by given user.
|
ArchivedIssueService.ValidationResult |
validateRestoreIssue(ApplicationUser user,
String issueKey)
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)
.ArchivedIssueService.ArchivingResult restoreIssue(ArchivedIssueService.ValidationResult validation)
IssuesRestoredEvent
.validation
- a request previously validated by
validateRestoreIssue(ApplicationUser, String)
.ArchivedIssueService.ValidationResult validateArchiveIssue(ApplicationUser user, String issueKey)
user
- issueKey
- ArchivedIssueService.ValidationResult validateRestoreIssue(ApplicationUser user, String issueKey)
user
- issueKey
- Copyright © 2002-2019 Atlassian. All Rights Reserved.