Hello guys and gals.
I have the following automation
When Pull Request is merged -> move the task to the DONE state.
Sometimes there are could be more than 1 dedicated pull request and I want to check
I can't find a way to get the number of open pull requests. Is there a way to do that?
Thanks!
I have a very similar automation rule: If an issue is moved to `Done`, but there are open PRs or no PRs at all (I want there to be PRs for the issue, and I want them all to be merged), move it back. This is the relevant check, something like this should work for you as well:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried to use the following smart value:
` {{issue.development}}`
that gave me the following answer. In theory, I need the `state=OPEN` but I have no idea how can I parse it or get the parameter value
```json
```
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You could perhaps use an Advanced Compare Condition step, and check if
{{issue.development}}
Contains
state=OPEN
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.