I currently have subtasks with dates in the summary like this "Attendee analysis (03/29/2024)" using format("(MM/dd/yyyy)")
I want the date in the summary to change if I change the due date. For example, if I changed the due date to April 2nd the summary would update to "Attendee analysis (04/02/2024)"
I've tried these but with no success:
{{issue.summary.replace("(\d{1,4}([.\-/])\d{1,2}([.\-/])\d{1,4})","duedate.format("(MM/dd/yyyy)")}}
{{issue.summary.replace("(MM/dd/yyyy)","duedate.format("(MM/dd/yyyy)")}}
replaceAll(String regex, String replacement)
Performs a regular expression search and replaces any match with the replacement. $1 can be used to access a matching group in the replacement.
More info on String.replaceAll(String, String)