I have created a public class in Script editor for processing project keys. I have a Service desk form which will supply the project keys from the form to this class thro the post function, which is supposed to be processed later by a different script.
The keys are getting supplied correctly but is not retained in the class for processing by another script. What am i missing for the keys to be retained for processing later ?
public class ProjectUpdater {
private static final Logger log = Logger.getLogger(ProjectUpdater.class)
public static ConcurrentHashMap<String, String> projectDetailsMap = new ConcurrentHashMap<>()
public static void updateProjects(List<String> projectKeys)