You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I wanted to create an automation rule, if the remaining time of an issue is less than 30% of original estimate
What have you tried thus far to solve this need?
If you have a rule started and are having problems with it, please post images of your rule and the audit log details, and describe the problem to provide context for the community to offer help.
If you have not started yet, please review this documentation and example rules to help you create rules:
Kind regards,
Bill
Hi @Bill Sheboy ,
I'm trying to set up a similar automation (just 20% instead of the 30% mentioned above). Hopefully, you can help me.
Background: When 80% of the time has been spent (=less than 20% left) I want the automation to send an email.
I was hoping that I could use the Advanced Compare Condition but what I've tried doesn't work and I couldn't find any documentation on how to get "20% of the Original estimate". See my screenshot below for what I've tried.
To check it, I set up two Log Actions:
1) If condition matches:
"success (Remaining "{{issue.fields.timeestimate}}" less than 20% of original "{{issue.fields.timeoriginalestimate}}")"
2) Else:
fail (Remaining "{{issue.fields.timeestimate}}" less than 20% of original "{{issue.fields.timeoriginalestimate}}")
As you can see in the Audit log, it always shows the Else message (fail) although the Time remaining is less than 20% of the Original estimate.
I think my mistake is with the Second value of the Advanced compare condition but don't know how to change it.
Any help greatly appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Would you please post an image of your entire rule? That may provide some context for what you are observing. Thanks!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for that information. The problem is how you are performing the math operation. The way you are doing it is leading to a text string and not a number.
There are two ways to perform math operations in rules: inline and using a math expression:
{{issue.fields.timeoriginalestimate.multiply(0.2)}}
or
{{#=}}{{issue.fields.timeoriginalestimate}}*0.2{{/}}
Please replace the second part of your advanced compare condition with one of these to see how that helps.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.