> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/recipes/github-issues-to-feishu.md).

# Post new GitHub issues to a Feishu group with Duaer

In Duaer, every new issue in a repository posts its title, author, and link to a Feishu group robot.
## Build the issue alert in Duaer

1. Create a GitHub credential in Duaer. The account needs admin rights on the repository so the trigger can register a webhook.
2. Add [Github Trigger](/integrations/builtin/trigger-nodes/duaer-nodes-base.githubtrigger.md) with Repository Owner, Repository Name, and Events Issues.
3. Add [If](/build/if.md): {{ $json.body.action }} is equal to opened, to keep new issues only (closing and editing also fire).
4. Add [HTTP Request](/build/http-request.md): Method POST, URL the Feishu robot webhook, Send Body JSON, body {"msg_type":"text","content":{"text":{{ JSON.stringify("New issue: " + $json.body.issue.title + "\n" + $json.body.issue.user.login + "\n" + $json.body.issue.html_url) }}}}.
5. Publish the digital organization.

## Common issues

- Feishu returns a non-zero code: refer to [Fix group bot failures in Duaer](/troubleshooting/wecom-feishu-bot-webhook-errors.md).
- Bug label only: add {{ $json.body.issue.labels.map(l => l.name).includes("bug") }} is true to If.
- Self-hosted Duaer must be reachable from the internet for GitHub webhooks to arrive.
## Questions

### Can the Duaer Github Trigger watch pull requests?

Yes. Pick Pull Request under Events in the Duaer Github Trigger. The posting steps stay the same.

### Where is the issue data in Duaer?

The Duaer Github Trigger puts the GitHub payload under body, such as body.issue.title and body.action.

## Related

- [Start a Duaer digital organization with Github Trigger](https://doc.duaer.com/integrations/builtin/trigger-nodes/duaer-nodes-base.githubtrigger.md)
- [Create a GitHub issue in Duaer](https://doc.duaer.com/build/github.md)
- [Call an API with HTTP Request in Duaer](https://doc.duaer.com/build/http-request.md)
- [Fix WeCom and Feishu group bot webhook failures in Duaer](https://doc.duaer.com/troubleshooting/wecom-feishu-bot-webhook-errors.md)

