Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Html bobswift
<iframe width="494" height="270" src="https://www.youtube.com/embed/90LnxVS6dks" frameborder="0" allowfullscreen></iframe>

Bitbucket file macro
showLineNumberstrue
titleAllowIfHoursWorked.sil
urlhttps://bitbucket.cprime.io/projects/CAP/repos/sil-script-library/raw/Workflow_Validators/AllowIfHoursWorked.sil?at=refs%2Fheads%2Fmaster
syntaxHighlightingJavaScript

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

...