> 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/jira-issue-to-github.md).

# Sync new Jira issues to GitHub issues with Duaer

In Duaer, each new Jira issue opens a matching GitHub issue, and the GitHub link goes back to Jira as a comment.
## Build the sync in Duaer

1. Create [Jira credentials](/integrations/builtin/credentials/jira.md) and [GitHub credentials](/integrations/builtin/credentials/github.md). Jira Trigger needs Jira admin rights to register its webhook.
2. Add [Jira Trigger](/integrations/builtin/trigger-nodes/duaer-nodes-base.jiratrigger.md) with Events Issue Created.
3. To sync only some issues, add [If](/build/if.md), such as {{ $json.issue.fields.labels.includes("github") }}.
4. Add [GitHub](/build/github.md) with Resource Issue and Operation Create, plus Repository Owner and Repository Name. Title: [{{ $json.issue.key }}] {{ $json.issue.fields.summary }}; Body: the description and https://your-site.atlassian.net/browse/{{ $json.issue.key }}.
5. Add [Jira](/build/jira.md) with Resource Issue Comment, Operation Add, Issue Key {{ $('Jira Trigger').item.json.issue.key }}, Comment {{ $json.html_url }}.
6. Publish the digital organization.

## Keep in mind

- Jira descriptions use Jira markup, so formatting shifts on GitHub. Keep key facts in the title or the link back.
- This flow is one way. For two-way sync, build a second digital organization from GitHub Trigger and use the Jira key in the title to avoid loops.
## Questions

### Can Duaer sync Jira and GitHub both ways?

Yes, with two Duaer digital organizations, one per direction, using the Jira key in the title to avoid loops.

### Why does Duaer Jira Trigger fail to register?

Registering a Jira webhook needs admin rights. Use a Jira admin credential, or ask an admin to add the Duaer webhook URL in Jira.

## Related

- [Create a Jira issue in Duaer](https://doc.duaer.com/build/jira.md)
- [Create a GitHub issue in Duaer](https://doc.duaer.com/build/github.md)
- [Set up Jira credentials in Duaer](https://doc.duaer.com/integrations/builtin/credentials/jira.md)
- [Set up GitHub credentials in Duaer](https://doc.duaer.com/integrations/builtin/credentials/github.md)

