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.
http://scriptrunner-docs.connect.adaptavist.com/jiracloud/script-listeners.html#_email_notify_on_priority_change
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 doubledef orgEstimate = issue.getOriginalEstimate() / 3600000 as doubledef percentageLogged = new Double( (timeLogged/ orgEstimate)* 100 )percentageLogged >= 80
Please find below screenshot for reference.
Hope this helps
Thanks for that help chander. That was exactly what I needed!
It looks like you're new here. Sign in or register to get started.