Adds {state: 'all'} option for getting issues.