Class DefaultCsvIssueExporter
java.lang.Object
com.atlassian.jira.issue.export.customfield.DefaultCsvIssueExporter
- All Implemented Interfaces:
CsvIssueExporter,IssueExporter
- Since:
- 7.2.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final JiraAuthenticationContextprotected final TableLayoutFactory -
Constructor Summary
ConstructorsConstructorDescriptionDefaultCsvIssueExporter(JiraAuthenticationContext authenticationContext, TableLayoutFactory tableLayoutFactory, SearchRequestViewBodyWriterUtil searchRequestViewBodyWriterUtil, FeatureManager featureManager, CsvInjectionProtection csvInjectionProtection) -
Method Summary
Modifier and TypeMethodDescriptionvoidexport(Writer writer, SearchRequest searchRequest, SearchRequestParams searchRequestParams, List<Field> fields) Export the given search and fields and output it to the supplied writer.
-
Field Details
-
authenticationContext
-
tableLayoutFactory
-
-
Constructor Details
-
DefaultCsvIssueExporter
public DefaultCsvIssueExporter(JiraAuthenticationContext authenticationContext, TableLayoutFactory tableLayoutFactory, SearchRequestViewBodyWriterUtil searchRequestViewBodyWriterUtil, FeatureManager featureManager, CsvInjectionProtection csvInjectionProtection)
-
-
Method Details
-
export
public void export(Writer writer, SearchRequest searchRequest, SearchRequestParams searchRequestParams, List<Field> fields) throws IOException, SearchException Description copied from interface:IssueExporterExport the given search and fields and output it to the supplied writer.- Specified by:
exportin interfaceIssueExporter- Parameters:
writer- to export the output tosearchRequest- to collect issues forsearchRequestParams- to provide the context for the searchfields- to export for these issues- Throws:
IOExceptionSearchException
-