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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.