Hi Everyone,
I need help with the below task.
I am extracting the defects from JIRA to confluence page using Macro - Table transformer and inside that another macro - Insert JIRA Link.
I am calculating the number of days taken to resolve and issue, for that I am using the SQL Query:

Attaching the heading of the table of how it looks on publishing for reference:

Here my ask is:
1. Is there a query i can use to calculate from the column "time to resolution"(this columns would have the number of days in it) - what defects are older that 14 days or any number of days, if that can be filtered?