Hello!
First of all, thanks for taking the time to read and answer!
I was wondering if there is any validation to check if the Parent has childs or not? so my rule can continue... or not.
Kind regards
Have you tried the "related issues condition"
Hi @Jesus Octavio Gutierrez Villegas
For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!
Until we see those...
The answer depends on which issue types (and children) you are asking about...
For a standard issue type (e.g., Story, Task, or Bug) and you want to check if there are any subtasks, you may check that smart value: {{issue.subtasks}}
For other types (e.g., and Epic and child Story, Task, or Bug) you could use either a related issues, JQL condition to find any issues with a parent field equal to the issue key, or use a Lookup Issues action with the same JQL and check the result count: {{lookupIssues.size|0}} This technique will also work for the subtasks case.
How you solve this may depend upon what you want to do next. If you just need to know if there are "child" issues, the above will work. If you need to take action on the child issues, the specifics will determine which ways are better / worse to help.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.