Hello community,
I'm trying to automate a field with a % of time set in the original estimate.
I created a rule that selects the % according to the value of a custom field (X) and i'm trying to change the put the value of that % to the original estimate and feed the result to a custom field (Y)
Hello @Houssein Barkallah
Can you tell us what problem you are having with this rule? What help do you need?
Adding to Trudy's answer: please take a look at the examples of the math functions/features for automation rules. I believe you are trying to apply a percentage as an operation when you could just multiple the value instead:
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-math-expressions/
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the replies:
I'm trying to provide my team with a secondary estimation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So if I understand correctly, looking at the first branch of your rule where the field HLE = "HLE LEVEL 0" then you want to set "HLE wCont" to
Original Estimate + 40% of Original Estimate
In that case the math would be
HLE wCont = 1.4 * Original Estimate
...and the proper syntax to get that in the automation would be like the first example on the page @Bill Sheboy referenced.
{{#=}}{{issue.Original Estimate}} * 1.4{{/}}
Note that Original Estimate is stored as seconds. What type of field is "HLE wCont"? You may need to also apply some conversion in your math to get the number that you want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Trudy,
This works as you mentioned.
The HLE wCount is a number field that now stores the number of seconds.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad I could help.
If your problem has been solved and your question answer please mark the response as Answer Accepted to help other community members find the posts that have working solutions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.