JQL is only used to return a list of issues, it cannot set anything. So ... you could use JQL to get all the issues where Cancellation field is populated by
Cancellation Field is not EMPTY
you would then need to use Bulk Update (or some other means) to do the second part.
In answer to your question, no it isn't possible.
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