Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-11296

Insight Discovery import returns error 400 when uploading many files

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Low
    • Assets - Import
    • None

    Description

      Issue Summary

      Discovery tool can have many results from scans, when there are many scans (more than 100) import execution fails for some of the scans.

      Steps to Reproduce

      1. Produce more than 100 scans with the discovery tool (have these in the `scans` dir)
      2. Run discovery execution command with `-z` to upload the files. After some imports going through it starts getting 400 for the rest of the imports.

      Expected Results

      Upload and import all scans.

      Actual Results

      Gets 400 status code from import execution endpoint. Logs will show similar logs as follows:

       

      ...
      Uploading file... 
      Uploaded file successfully 
      File uploaded, instruction Cloud to execute file... 
      Failed to execute upload 
      Exceptions: 
      Response status code does not indicate success: 400 (Bad Request). 
      ...

       

       

      Workaround

      Unfortunately there is no workaround available currently. But the dev team has identified the issue and is working on a fix. 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              b38c9731e6db mtalebi
              Votes:
              7 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: