We have some workflows from our Jira server using the JMWE app that have some groovy expressions in them written by someone who has since left.
After migrating to the cloud we now need to convert these to Nunjucks or Jira expression - would anyone have an idea how this would look in Jira - its a simple number generator
Calendar.getInstance().get(Calendar.YEAR)+'-RIM-' +
issue.get("issuekey").split("-")[1] + '-' +
Math.abs(new Random().nextInt() % 6000) + 1;
Thanks