Hey guys,
Not sure Im doing this correctly but here we go. I want to have automation handle creating my original and remaining time estimates. Right now I can get time added into into original and remaining based on Team and Complexity of asset. This image show how that works
Next want Im trying to do is have time added to the original estimate when the user says the task needs to have compiling time. Here Im trying to add 1 day.
However no matter what I do it never works. Is this type of automation not support? Meaning should I not have a automated value generate a value and then have another value try to add time to that value?
Any advice on the best way to handle this?
Oh thought I would add this as another level of clarity. I want to add these values together if they are values set
What is the result after rule execution? Is audit log giving any information?
Furthermore:
Those fields take "amount of time" input (1d, 5h, etc....). As shown in your screenshot the rule calculates a a date as the smart value {{now}} returns the current date & time. What would you expect to be written into the field? If it´s "the current value of the field" (eg. original estimate) plus 1d then I would suggest using the smart value of its own (eg. {{issue.Original Estimate}}) and adding the time.
Best
Stefan
I just tried the following and it fails. I was hoping by doing this it would add 1h to the current time in the estimated and remaining time fields.
The error I currently get is as follow
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ok....finally I guess I found a way:
When logging original estimate it´s logged in seconds. strange (but true) seconds cannot be filled in when editting the field. Therefore:
{{#=}}{{issue.Original Estimate.divide(60)}} + {{issue.Number 1.multiply(60)}} {{/}}m
See screenshot:
Hope this helps.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That was it !!!! Thanks the formal I used was a bit smaller but its working now!!! Thank you so much for your help. To be clear 30 for me = minutes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When setting those fields, you need to specify a value (with the default units of measure of Seconds) or specify the units of measure (e.g. 4h).
To add to the existing value, please try either form of the math expressions and add the units of measures to the end to see what happens. For example to add one hour, convert to hours and then add the amount:
{{issue.Original Estimate.divide(3600).plus(1).concat("h")}}
Please note: if you are adding days and not hours, Jira will based that upon your site settings for working hours to translate "days".
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.