I have JIRA on cloud version. In the JIRA structure, I would like to write a formula that publishes all the historical values of the due date field with all strikethrough against all of them except the current due date value.
I write this formula for it, but it failes in the "$ ->" row. Any suggestions?
WITH myArray = history.changes.filter($.field = "duedate") :
WITH previousDueDatesArrays = WITHOUT (myArray, LAST(myArray)) :
IF(IS_EMPTY(myArray), "",
JOIN(
WITH(
myArray,
$ ->
IF(
$ == LAST(myArray),
$,
concat("~~",$, "~~") + ", "
)
),
""
)
)