Couldn't import Time Metric (sd.sla.configuration.metric.goal.duration.invalid)

XMLWordPrintable

      Issue Summary

      S2C  JSM migration using JCMA 1.6.9
      Unable to migrate a projects when SLA goal has default value as "No Target".

      Steps to Reproduce

      1. Create JSM project
      2. Migrate project with SLA Goal with default value "No Target"
      1. Try to migrate the project

      Expected Results

      Project should be migrated successfully and the SLA should have proper default data.

      Actual Results

      Migration failed with error log like:

      2022-05-03 15:08:58.552 ERROR CSD project-import We couldn't import Time Metric 1. Reason: 400 Bad Request: [{"indexToRestErrorResponse":{"0":{"errors":[{"errorMessage":"sd.sla.configuration.metric.goal.duration.invalid","field":"duration"}],"reasonKey":"Validation failed","reasonCode":"400"}}}]. This caused 1 other items to fail.
      2022-05-03 15:08:58.552 ERROR CSD project-import We couldn't import Time Metric 17. Reason: 400 Bad Request: [{"indexToRestErrorResponse":{"0":{"errors":[{"errorMessage":"sd.sla.configuration.metric.goal.duration.invalid","field":"duration"}],"reasonKey":"Validation failed","reasonCode":"400"}}}].
      

       

      Workaround:

      • Change the default SLA Goal Value from "No target" to 101h
      • Try to migrate the project
      • The migration should be successful

        1. no-target.png
          274 kB
          R B

            Assignee:
            Unassigned
            Reporter:
            R B (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: