Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi want to validate at the time when an issue is moved to done, whether a set of issues have been marked as Done or not. I have created a JQL for it but I am not able to figure out a way to use it in workflow validator in scriptrunner script.
Can someone please help me with the way we can use JQL in a validator?
Hi Shivendrta,
Unfortantetlyin Jira Cloud it is not possible to use JQL in workflow conditions or validators provided by ScriptRunner for Jira Cloud.
This is because Workflow validators use the Jira Expression framework provided by Atlassian, and the Jira Expression Framework does not provide any way to use JQL in an expression.
This means you will need to write an expression to validate the fields you want to check when the issue has the done status, and the pages above will help explain how to do this.
I hope this helps.
Regards,
Kristian
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.