A post function is designed to perform an action, essentially update something. JQL is designed to search for issues, not updating anything. So I assume you would like JQL to act as a condition you would like to use prior to an update on one or more issues.
In most cases, automation rules are a great way to deal with that. When you use a workflow transition as the trigger of your automation rule, you can then perfectly add a JQL condition to select a set of issues and manipulate those further.
What do you mean by "with JQL query"?
A post-function is an action that does something when a transition is executed. There are uses for JQL in post-functions (for example "find all the subtasks and update one of their fields"), but your question contains too little information about what you're trying to do to tell me if that's the sort of thing you are looking for.
Please could you explain what you are trying to do?
Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...
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