query for redmine issue