I am trying to set the value of the priority using the following method:
The priority is determined by the date now, which will be set as "P" + the day%3. For example, the priority for 2023-10-01 will be P1 since 1%3 = 1, and the priority for 2023-10-15 will be P0 since 15%3 = 0.
I am using the following advanced field editing json
{
"fields": {
"priority": {"name":"P".concat({{#=}}{{now.shortDate.split("/").get(2).asNumber}}%3{{/}})}
}
}And I got the following error
Edit issue
Error while parsing additional fields. Not valid JSON.
Can anyone help me to look into my json to see why it is invalid?