I am sure that I can do this with Scriptrunner but I do not know how to code in Java.
This is the closest example I can find to what I want.
Can anyone help me write the script so that I get an email when any issue hits 80% time logged?
Thanks
Hey Nathan,
Code:
def timeLogged = issue.getTimeSpent() / 3600000 as double
def orgEstimate = issue.getOriginalEstimate() / 3600000 as double
def percentageLogged = new Double( (timeLogged/ orgEstimate)* 100 )
percentageLogged >= 80
Please find below screenshot for reference.
Hope this helps
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.