I need a workflow validator to check if the Jira issue has at at-least one pull request
I see we have a JQL search workflow condition to check the Jira issue has at least one pull request but I need a validator, how do I achieve it?
JQL Query : status != Closed AND development[pullrequests].all > 0
Hi, @Kiranped .
May I suggest the usage of the JMWE Scripted (Groovy) Validator and verify that there is a value returned when you use this Groovy script?
issue.get("Development").pullrequest
From there, you can expand the requirement where needed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Kiranped - not sure of the exact syntax for the pull requests, but since it looks like you are using JMWE, you might take a look at this previous post for something similar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.