github or bitbucket api for posting issue