Link the calculated fields to time tracking (Original Estimate and Remaining Estimate)

Issue #387 resolved
Bharath Kumar created an issue

This issue has link to both previous issues,Issue #381 and Issue #369

Now coming to the issue, in the previous issues I have mentioned that we are calculating a few fields and summing them up to get the "Component Total" In the subtasks.

Now the the fields that are getting summed up are the estimated number of hours that are required to complete that task, so now the "Component Total" is nothing but the number of hours that are required to complete that component task.

Now in the current instance we just had a custom number field (Component Total which is for subtask and Sizing total for the Story) created and that number field will summed up and shown in the respective field. We would like to have both the total fields to be shown in the Original Estimate field and once the work starts the remaining estimate field should be enabled.

All of this explanation looks a little complex, please let me know if you want me to share the screen and show up whats going on.

Comments (14)

  1. Fidel Castro Armario repo owner

    Original estimate stores a value in time units, while Sizing Total and Component Total stores a number of Story points.

    Which is the equivalence of your Story points to time units?

  2. Bharath Kumar reporter

    But how can we link both the fields I mean the total fields and Original Estimate.

    Is there a possibility that we can see the total in the estimated field in both subtask and story

  3. Fidel Castro Armario repo owner

    You can select "Original estimate (minutes)" as target field in post-function "Mathematical and date-time expression calculator". We can use a formula to transform the value stored in fields Sizing Total and Component Total to transform the number of story points into a number of minutes.

    You can insert the post-function in a transition of the workflow of the sizing story and the subtask workflow in order to set Original estimate (minutes) in those issue types.

  4. Bharath Kumar reporter

    So what is the formula to transform the number of story points into a number of minutes.

  5. Fidel Castro Armario repo owner

    You have to give the equivalence Story Points - Hours that you want to apply., the I will be able to give you the formula to use.

  6. Fidel Castro Armario repo owner

    You should use "Mathematical and date-time expression calculator" post-function with the following configuration:

    • Target field: Original estimate (minutes)
    • Formula:
    {aaaaa} * 4 * 60
    

    replacing aaaaa with the field code of Sizing Total or Component Total custom fields, depending on the workflow where you are inserting the post-function.

    Default JIRA configuration assumes that 1 work-day corresponds to 8 work-hours. If you haven't done modifications it should work as you expect.

    Please, try it, and let me know if it works as you expect.

  7. Bharath Kumar reporter

    What if we wish to have 1SP as 1HR in our Jira instance.

    But is it possible to change the default value of 1 SP = 4 HRS to 1SP = 1 HR in Jira, if that is possible we would want to do that and in that case please help me with the new formula

  8. Bharath Kumar reporter

    Never mind Fidel I figured that out and I was able to fix that, I could figure the formula out as well thanks for the help.

    We can now close the issue, you want me to close or will you close the issue.

  9. Fidel Castro Armario repo owner

    This time I close the issue, but please, do it yourself next time, once you consider the issue resolved.

  10. Marta Lopez Reyes

    Is there any solution without using post functions? I just want "original estimate" field being automaticaly updated based in a formula similiar to yours "story points..., percentt of dedications...etc

    I need to have it always updated when some of those fields are edited. Do you understant-me? Is there any feature from 2016?

  11. Marta Lopez Reyes

    @fcarmario Thanks! I actually use that "calculated number field" for costum fields but I need it to calculate not a custom field, I need to calculate the "Original estimate" field in order to use the "resources" functionality from BigPicture.

    Thanks

  12. Log in to comment