Can we open a Github issue automatically in CircleCI?

Couldn’t find any known related post. So opening this one here…
I am wondering if it is possible to automatically open a GitHub issue by CircleCI if some builds failed in some important branch in CircleCI?

There isn’t a feature to do that, as far as I know.

However, there is a CircleCI API you can periodically scan to find failed jobs, so you could write some code to call that and create an issue in GitHub via their API. You can either add this to your own server (e.g. on a Cron job) or put it in a new scheduled job in CircleCI itself.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.