Html bobswift |
---|
<iframe width="494" height="270" src="https://www.youtube.com/embed/90LnxVS6dks" frameborder="0" allowfullscreen></iframe> |
Bitbucket file macro |
---|
showLineNumbers | true |
---|
title | AllowIfHoursWorked.sil |
---|
url | https://bitbucket.cprime.io/projects/CAP/repos/sil-script-library/raw/Workflow_Validators/AllowIfHoursWorked.sil?at=refs%2Fheads%2Fmaster |
---|
syntaxHighlighting | JavaScript |
---|
|
Transition based on a tempo
I want that users can't assign an issue without entering the work log
See also
Code Block |
---|
interval max = "60m";
interval w = getTimeSpent(key, "jira-users");
string errorMsg = "You must have minutes worked on the issues but must be less than 60";
if(isNull(w) || w > max) {
return false, "error", errorMsg;
} |
Transition based on a tempo
I want that users can't assign an issue without entering the work log
...