Uploaded image for project: 'Xporter for Jira'
  1. Xporter for Jira
  2. XPORTER-2643

Scheduled reports are failing when the JQL returns no issues

    XporterXMLWordPrintable

Details

    • OK

    Description

      Steps to reproduce:

      1. Create a new Scheduled Report
      2. Define a JQL which return no issues
      3. Use the Issue List Excel template
      4. Configures come actions
      5. Enable it.

      Logs found:

      Error saving Scheduled Report locally:
      java.io.FileNotFoundException: ....../tmp/a356c54a86794b8d941cbb618e86fc52.pdf (No such file or directory)
      	at java.io.FileInputStream.open0(Native Method)
      	at java.io.FileInputStream.open(FileInputStream.java:195)
      	at java.io.FileInputStream.<init>(FileInputStream.java:138)
      	at com.xpandit.jiraxporter.component.scheduler.ScheduleReporting.saveLocalServer(ScheduleReporting.java:750)
      	at com.xpandit.jiraxporter.component.scheduler.ScheduleReporting.lambda$null$0(ScheduleReporting.java:514)
      	at java.util.ArrayList.forEach(ArrayList.java:1257)
      	at com.xpandit.jiraxporter.component.scheduler.ScheduleReporting.lambda$runJob$1(ScheduleReporting.java:488)
      	at com.xpandit.jiraxporter.component.bulkexport.BulkExportProcess.finishProcess(BulkExportProcess.java:321)
      	at com.xpandit.jiraxporter.component.bulkexport.BulkExportProcess.run(BulkExportProcess.java:310)
      	at java.lang.Thread.run(Thread.java:748)
      

       

      Attachments

        Activity

          People

            tfsi Tiago Silva [X] (Inactive)
            rmbr Rui Rodrigues
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours
                2h