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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.