How to condition the creation of issues

How to condition the creation of issues