add API for issues