I am retrieving some Jira issue from a remote system via REST API and then iterate the comments.
Inside the comments loop, I can read the updated field and I want to compare this field with an issue field value (such as last sync date and time) but apparently, no issue field values can be accessed from within the listed loop.
Nor even a custom-defined smart value can be accessed there. So I am missing a way to compare the comments times and then pick only those more recent than my last sync date and time field.
Even with this fixed, I am still unsure if an IF condition can be applied inside such loop.
Does anyone have an idea how to pick only most recent comments from an issue retrieved by API using smart values?
