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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,458,250
Community Members
 
Community Events
176
Community Groups

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

Atlassian Community Events