{
StringBuilder realStatuses = new StringBuilder();
Set<String> statuses = getSetParams(descriptor, "invalid_statuses");
for (String status : statuses)
{
Status statusObj = ComponentAccessor.getConstantsManager().getStatusObject(status);
if (statusObj != null)
{
if (realStatuses.length() > 0)
{
realStatuses.append(", ");
}
realStatuses.append(statusObj.getName());
}
}
velocityParams.put("jql", getParam(descriptor, "jql"));
velocityParams.put("invalid_statuses", getSetParams(descriptor, "invalid_statuses"));