Hi all,
I have a job-management app that uses data from an API.
I am trying to assign the tickets a priority based on their due date, however because the date is in JSON, I can't use the single condition feature to compare it to the current date (see screenshot). The data type option is unclickable.
I have been advised I need to use custom code to create a function to change my API data into date time, but I'm not familiar enough with coding to do this myself or understand the code that the code copilot is outputting (see screenshot).
Can anyone suggest the code I need to achieve this?