Remaining Estimate Not Deducting Done Tasks

Theresa June 13, 2024

I'm trying to make a gadget that has my stories listed with the remaining time based on how many tasks are to-do or in progress. When I mark items as Done, they are not deducted from the progress bar or remaining estimate column. How can I make the remaining estimate column for my story and deduct the task's original estimate times that are associated with it?

3 answers

0 votes
Theresa June 26, 2024

I wasn't able to make this work with the suggested automation. Does this need to be a specific project type?

0 votes
Kelly Arrey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 14, 2024

We've added post functions to our workflow transitions to Done or Closed to clear the Remaining Estimate field.

0 votes
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 13, 2024

Hi Theresa,

Welcome to Atlassian Community!

If you go to one of the issues that you moved to done, is the resolution also set? You should see it next to the status with a checkmark. If the resolution is not set then Jira is consider the issue to still be unresolved and that is why it is not deducted from the progress bar. You can learn more about resolution here, Best practices on using the Resolution field. The KB is mentioning that you can add a new transition to set the resolution on done issue, but this can also be done via automation.

Theresa June 26, 2024

Sorry, I am new to JIRA. What would the automation for this look like?

I tried this but it doesn't work.

 

When value changes for status

status is done

for parent

edit issue field resolution done

Theresa June 26, 2024

Also, when I try and add a rule to the workflow, the dropdown list of fields to update doesn't have Resolution as an option. 

Kelly Arrey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 26, 2024

Hi @Theresa

One way to set Resolution is in the workflow transition to the terminal status: 

  • We use a post-function in the Done transition to set Resolution to Done
  • We use a validator in the Close transition to prompt the user to enter a Resolution value (you need a transition screen which includes the Resolution field) before the transition can be completed.

For the automation, I think this would do what you need - If I understood @Mikael Sandberg's update correctly, then setting the Resolution on the task will cause it to be excluded from the rollup of the remaining estimate2024-06-26_10h40_23.png

Hope this helps!

Kel

Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 26, 2024

@Theresa The automation to set the resolution on issues that are already closed/done would look like this:

Screenshot 2024-06-26 at 8.09.32 AM.png

The one @Kelly Arrey included above would only work on issues that are currently not in a closed/done status, and in that case it is better to use a post function in the workflow instead of using an automation, especially if you are free/standard plan which limits the number of automation executions you have each month.

Like Kelly Arrey likes this
Mikael Sandberg
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 26, 2024

Because the automation I included above is a scheduled one you can set it to run whenever, once you saved it you have the option to run it right away and after that you can disable it unless you want to run it on a schedule.

Like Kelly Arrey likes this
Theresa June 26, 2024

I tried the 

when issue transitions done

 

if issue matches JQL

type = Task

 

The edit issue field resolution

Done

 

This didn't work. I also tried issue type is subtask and story but none of them worked. 

 

Suggest an answer

Log in or Sign up to answer