My code is as follows :
if (issue.get("customfield_13702")==null) return null;
It is working but it is throwing the following error message on my logs
2015-02-23 06:12:23,001 http-bio-8080-exec-67047 ERROR MALE0814 372x11861058x3 jdircw 10.71.108.112,127.0.0.1 /rest/api/latest/issue/OTS3-29385 [innovalog.jmcf.fields.CalculatedDateField] CalculatedDateField: error evaluating formula: Sourced file: inline evaluation of: `` if (issue.get("customfield_13702")==null) return null; org.apache.commons.lan . . . '' : Class or variable not found: org.apache.commons.lang.time.DateUtils
Not sure what is wrong.
JIRA VERSION : 6.2.7
JMCF VERSION : 1.5.11
The formula cannot be working if it is throwing these errors. They mean that the org.apache.commons.lang.time.DateUtils class is not available from the BeanShell context, which is derived from the plugin classpath, which itself is driven by OSGi. This is a common issue, to which I initially implemented a solution which revealed another issue in JIRA that was worse than the initial issue.
I don't believe there is any easy solution to this problem. The only working solution is to manually edit the plugin JAR, which I would not recommend.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...
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