I am trying to write a JQL but it's not working in Jira. If I take the AND (resolutiondate = startOfYear("2022")) AND (resolutiondate = endOfYear("2022") ) the query works. I'm trying to ensure that I can only see tickets within 2022.
("Customer Request Type" = "Hidden Onboarding (SUPPORT)" OR "Customer Request Type" = "Non-Employee - Onboard (SUPPORT)") AND (resolutiondate = startOfYear("2022")) AND (resolutiondate = endOfYear("2022") ).