I'm new to Jira and I'm trying to figure out how to make sure time have been logged at least 1 minute. So, if Time Spent = "0" OR NULL it should pop-up a message and prohibit to close the issue. I'm not a programmer :/
Jira Server 7.3.4 with Script Runner
Hey there Francis,
I think I can help you out with this!
Follow these steps:
def timeSpent = issue.getTimeSpent() timeSpent>=60000 && timeSpent != null
and the Error Message "Error: There has been no time spent on this issue!" But leave the Field box blank.
If I'm following your question correctly, this should do the trick.
Let me know how it goes!
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Any other country that celebrates Midsummer holiday (this friday 22 June)?
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG