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?
The purpose of this post is to help people identify and resolve some of the most common problems that affect customer accounts in JSM projects. 1. Customers can't see their own requests in...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events