This is called SRP (single responsibility principle) - 1 method does 1 stuff and does it good. In this case the `execute` method is doing 3 stuff at least:

1. querying for issues
2. filtering results
3. generating table

We can surely move out each of these into separate methods.