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!
G’day everyone! Super exciting news coming from the Marketplace. We have now fully rolled out the ability for end-users to submit app requests to admins directly from within the product! No longer ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events