Good afternoon! Using the script, I try to write the difference between two dates in the customfield, the script is presented below.
if (issue.get(Created())==null || issue.get("customfield_10226") == null)
return customfield_10250 = (issue.get("customfield_10226").getTime() - issue.get(Created()).getTime());
Cript Console throws an error - The script could not be compiled: <pre>org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script89.groovy: 1: unexpected token: < @ line 1, column 1. <!-- Formula: ^ 1 error </pre>.
Help solve the problem
It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...
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