A way to convert JQL into mesures

I’ve got a complex jql for work

I need to load issues from jsql to my report

jql looks like

issuetype = RC AND fixVersion in (9.2021) AND status in (Pilot, Done) AND fixVersion not in (10.2021, 11.2021, 12.2021) OR (labels = accepted AND fixVersion = 9.2021 AND fixVersion = 11.2021)  

is there any way to use it, for example, with filter expression?