All eazyBI for Jira eazyBI for Confluence Private eazyBI

Import source files from directory
eazyBI for Jira eazyBI for Confluence Private eazyBI

On eazyBI for Jira and Confluence Server or Data Center

You can perform automatic source file import from a directory in the Jira or Confluence server.

Create a directory for automatic file import on the server. Then create sub-directories for each account you – use account ID as a directory name.

  • For Jira: JIRA_HOME/data/eazybi/custom/import/account_ID 
  • For Confluence: CONFLUENCE_HOME/data/eazybi/custom/import/account_ID 

Then you can copy CSV and Excel files into these folders and eazyBI will upload and import them into the specified account. eazyBI will replace the already existing file if the file has the same name. After automatic file upload, eazyBI will perform an automatic import if the mapping for the file is specified or eazyBI can pick a mapping from another file with the exact same data structure. 

​eazyBI would import files automatically every 10 minutes. If the data file in the directory is uploaded at the same time when the closest import is scheduled then the file will be included in the next import session to avoid partially uploaded files.

On Private eazyBI

If you would like to set up automatic source file import from Private eazyBI server directory then in private eazyBI main directory create an additional directory import and then create sub-directories for each account using account_id as directory name (e.g. for first eazyBI account create directory import/1).

Then in eazybi.toml file add automatic file import job and specify how frequently it should check import directories (see example in eazybi.toml.sample file):

job = "SourceFile::AutomaticImporter.start_automatic_file_import"
every = "10m"
# or you can specify more complex schedule using cron syntax
# cron = "*/10 * * * *"

After these changes restart Private eazyBI server and now it will be checking import directory sub-directories and will automatically import files that will be copied in these directories.