JMCF 2.1.0 brings the following improvements:
JMCF 2.1.0 is fully compatible with Jira Software/Core 8, as well as with Jira Service Desk 4.0. JMCF 2.1.0 is also backward compatible with Jira 7.0.11 and above.
JMCF Calculated (Scripted) Duration fields and Time In Status fields can now use a statistics-compatible search template, which means that these fields can now be used in Statistics gadgets such as the Pie Chart.
isInternal()
method on Comment objects to check whether a comment on a Jira Service Desk issue is Internal or Shared with customersecondsBetween
global function to easily calculate the duration, in seconds, between two datesworkdaysBetween
global function to calculate the number of workdays (excluding weekends) between two datesasUser
global function to run part of a calculated (scripted) custom field's script as a specific user. This is especially useful for scripts that need to access the API of another app, and this API relies on the "current user" to secure access to data.