"JQL Validator - This validator enables to check the amount of issues of the JQl Result"
I couldn't find the above validator on Jira Cloud. Is there any way I can apply the validator in cloud?
Hi @Kartik Pant
To the best of my knowledge, there is no good way to achieve this. With Jira Cloud, you are limited to what Jira Expressions can do – which is a lot, but not JQL.
Now, what could you try if you absolutely had to come up with something? You could use Jira Automation to update a specific issue with the result of your JQL whenever something according to your JQL is updated. You could then load the result from that specific issue in your validator like this:
// Assuming the issue is PRJ-01 and you store your JQL result in customfield_10123
new Issue('PRJ-01').customfield_10123
I don't I would recommend this approach, because it's a bit brittle with that hardcoded issue key. But it certainly should work, if you really need it.
Hope that helps,
Oliver
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.