Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automate Original Estimation field

Hi,

How can I automate the field for original estimate?

I have WBS Gantt to input the start date and end date for a task, and duration is generated.

How can automate original estimate field based on the formula below? 

Original estimate = units * duration * 8

Where can I can find the value of original estimate (system) in JIRA?

Thank you.

1 answer

0 votes
Sam Harding Atlassian Team Sep 30, 2020

Hi,

I'm not completely certain of your use case, but if you are wanting to set the 'Original Estimate' value on an issue, that can be done in 'Edit Issue' action, by selecting the 'Original Estimate' field in the drop down:

Edit Fields.png

 

The format it takes is a number followed by a unit character (for example, 2 days is 2d, 3 weeks 3w etc). If you have not yet calculated the duration value in your rule, you can use this smart value to generate the equation you are wanting:

{{#=}}{{issue.Start date.diff(issue.Due date).days}} * 8{{/}}d

 By setting this as the value for the 'Edit issue' action, this will set the original estimate on your field to be 8 times the length of your duration, in days. If you wanted to use a different time scale, such as seconds, you could edit the smart value to be .seconds instead of .days, and update the last character to be 's' instead of 'd'.

I hope that helps, let me know if you were looking for some other information other than this.

Hi,

Sorry, let me explain again.

I have start date and end date from WBS.

1. What is the smart value i should include to calculate the duration excluding weekend and weekdays?

Then, after I got the duration (at no 1), what is the smart value I should write to have the formula below?Original Estimate = Duration * Units (from WBS) * 8

Because I want it to be automatically calculated based on the duration and units and work hour per day. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Automation

New to Jira Automation - goodbye Cron (sort of), hello new project created trigger, new additions to

Hey Everyone! Simeon from the Automation team here. I'm delighted to share some new features and improvements that we are shipping to Jira automation (Cloud only). Firstly, @Sam Harding&nbsp...

2,794 views 10 23
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you