Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-1328

Updating remainingEstimate using additional fields incorrectly updates originalEstimate

XMLWordPrintable

    • Severity 3 - Minor
    • Jira Software

      Issue Summary

      When using an edit action to update remainingEstimate using additional fields, the automation rule incorrectly updates originalEstimate as well

      Steps to Reproduce

      1. create a rule to update remainingEstimate using the additional fields section

      Expected Results

      Only remainingEstimate is updated

      Actual Results

      both remainingEstimate and originalEstimate are updated with the same value

      {
       "fields": { 
         "timetracking": { 
          "remainingEstimate": "{{#=}} {{issue.timetracking.remainingEstimateSeconds}} /3600 - ({{issue.timetracking.originalEstimateSeconds}} * 0.1) / 3600 {{/}}h"
          }
        }
       }
      

      Workaround

      Update the field Remaining estimate or add originalEstimate to be reset to the same value

      {
       "fields": { 
         "timetracking": { 
          "remainingEstimate": "{{#=}} {{issue.timetracking.remainingEstimateSeconds}} /3600 - ({{issue.timetracking.originalEstimateSeconds}} * 0.1) / 3600 {{/}}h",
           "originalEstimate": "{{#=}} {{issue.timetracking.originalEstimateSeconds}}/ 3600 {{/}}h"
          }
        }
       }
      

              Unassigned Unassigned
              4bd2fd3801db Jorge H
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: