Some packages are not available in Calculated Field Scripts

Description

I have a calculated date time field and it is set to 10 days from issue created date. The formula used is

<!-- @@Formula: org.apache.commons.lang.time.DateUtils.addDays(issue.get("created"),10) -->

While this works and displays the date on View Issue screen, in Issue Navigator screen it is not displaying the date and I see an exception in the log.

2015-03-03 18:53:31,794 http-bio-8090-exec-8 ERROR admin 1193x199x1 oaosx0 0:0:0:0:0:0:0:1 /rest/issueNav/1/issueTable [innovalog.jmcf.fields.CalculatedDateField] CalculatedDateField: error evaluating formula: Sourced file: inline evaluation of: `` org.apache.commons.lang.time.DateUtils.addDays(issue.get("created"),10) ;'' : Class or variable not found: org.apache.commons.lang.time.DateUtils

I have only one project and just created one issue to test it and it fails. So it is not something to do with null value in formula.

Environment

Windows 7 OS, Tomcat, MySQL, JIRA v6.3.15#6346-sha1:dbc023d

Customer Info

None

Assignee

Unassigned

Reporter

RamakrishnanH

Labels

Internal Complexity

Unknown

Internal Value

Unknown

Requires documentation

None

Impact

None

Fix versions

Affects versions

Priority

Critical
Configure