Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-95331

The Burndown Chart does not consider JIRA post function when calculating Remaining Estimate

XMLWordPrintable

      Issue Summary

      When transitioning a Jira work item from one status to another, if we have a transition screen with "Log work" and a post function to clear the "remaining time estimate" field to 0, then the burndown chart does not recognise the decrement to the "remaining time estimate" field. 

      Steps to Reproduce

      1. Should be in a classic project (sprint-enabled)
      2. Workflow can be simple: Todo → In Progress → Done. (Best to edit a new workflow then activate it)
      3. Whilst creating the "In Progress" → "Done" transition in this workflow, assign a screen to it. (The screen can be pre-existing).
        1. Modify this screen: add the "Log Work" field.
        2. In this "In Progress" → "Done" transition, add a new post-function: "Update Issue Field" - setting "Remaining Estimate" to 0. Publish the workflow with these changes.
      4. Add a new work item to the sprint, of an work item type that the screen is assigned to.
      5. Set the Original Estimate of this issue to 8h
      6. On the board, drop this issue into the Done column following the workflow, the screen should appear. In the screen modal:
        1. Log in 4h work into Time Spent
        2. Leave the Remaining Estimate field empty to auto-adjust.
      7. On transition completion, the post-function from the workflow should then automatically set the Remaining Estimate to 0h

      Expected Results

      The work item's remaining estimate should be 0 (since the post function has set the value to 0) after the transition. 

      Actual Results

      The work item history section shows the reduction of Remaining Estimate to 0h, however, if we add this work item to the sprint as a scope change, we notice that the report accounts an increment of Remaining estimate to the value prior to the value "0" set by workflow post function.

      Workaround

      Use Jira automation instead of the Jira workflow post function to clear the "Remaining Estimate" field:

      1. Remove the post function from the workflow that clears the remaining estimate
      2. Add a Jira automation rule to set the remaining estimate value to 0m when a ticket transitions from any status to closed. 

              Unassigned Unassigned
              b678926ca497 Bopanna
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: