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!
We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs