@PublicSpi public interface IssueDataHandler
Modifier and Type | Method and Description |
---|---|
Optional<String> |
exportIssueData(com.atlassian.jira.project.Project project,
Set<Long> issueIds,
IssueExportContext context)
Exports issue data for the provided project.
|
void |
importIssueData(String data,
com.atlassian.jira.project.Project project,
IssueImportContext context)
Imports issue data for the provided project.
|
Optional<String> exportIssueData(com.atlassian.jira.project.Project project, Set<Long> issueIds, IssueExportContext context)
project
- the project for which data is exported.issueIds
- a set of all exported issue ids - this could contain all issues in the project or just a subset.context
- the export context.Optional
with the exported issue data or Optional.empty()
if the app does not store any issue data for this
project.void importIssueData(String data, com.atlassian.jira.project.Project project, IssueImportContext context)
data
- the data which was exported by the exportIssueData(Project, Set, IssueExportContext)
)}) method.project
- the project for which data is imported.context
- the import context.Copyright © 2022. All rights reserved.