Sync Zendesk tickets with subsequent comments to Jira issues
This workflow creates a Jira issue when a new ticket is created in Zendesk. Subsequent comments on the ticket in Zendesk are added as comments to the issue i...
🔌 Nodes & Integrations Used (2)
📖 Implementation & Setup Guide
This workflow creates a Jira issue when a new ticket is created in Zendesk. Subsequent comments on the ticket in Zendesk are added as comments to the issue in Jira.
Prerequisites
- Zendesk account and [Zendesk credentials](https://docs.n8n.io/integrations/builtin/credentials/zendesk/).
- Jira account and [Jira credentials](https://docs.n8n.io/integrations/builtin/credentials/jira/).
- [Jira project](https://confluence.atlassian.com/adminjiraserver/creating-a-project-938847000.html) to create issues in.
How it works
- The workflow listens for new tickets in Zendesk.
- When a new ticket is created, the workflow creates a new issue in Jira.
- The Jira issue key is then saved in one of the ticket's fields (in [setup](notion://www.notion.so/n8n/a1b8c2bc7d2b4aa3b90d50fa80b766d1?v=a3106a73c9fc41b88630cc9f091cf063&p=b38b48dae7e8433abaa66df07b55f4a1&pm=s#setup) we call this "Jira Issue Key").
- The next time a comment is added to the ticket, the workflow retrieves the Jira issue key from the ticket's field and adds the comment to the issue in Jira.
Setup
This workflow requires that you set up a webhook in Zendesk. To do so, follow the steps below:
- In the workflow, open the `On new Zendesk ticket` node and copy the webhook URL.
- In Zendesk, navigate to Admin Center > Apps and integrations > Webhooks > Actions > Create Webhook.
- Add all the required details which can be retrieved from the `On new Zendesk ticket` node. The webhook URL gets added to the “Endpoint URL” field, and the “Request method” should match what is shown in n8n.
- Save the webhook.
- In Zendesk, navigate to Admin Center > Objects and rules > Business rules > Triggers > Add trigger.
- Give the trigger a name such as “New tickets”.
- Under “Conditions” in “Meet ALL of the following conditions”, add “Status is New”.
- Under “Actions”, select “Notify active webhook” and select the webhook you created previously.
- In the JSON body, add the following:
- ```
- {
- "id": "{{ticket.id}}",
- "comment": "{{ticket.latest_comment_html}}"
- }
- ```
- Save the Zendesk trigger.
You will also need to set up a field in Zendesk to store the Jira issue key. To do so, follow the steps below:
- In Zendesk, navigate to Admin Center > Objects and rules > Tickets > Fields > Add field.
- Use the text field option and give the field a name such as “Jira Issue Key".
- Save the field.
- In n8n, open the `Update ticket` node and select the field you created in Zendesk.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Sync_Zendesk_tickets_with_subsequent_comments_to_Jira_issues.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related DevOps & GitHub Workflows
View All in DevOps & GitHub →Generate Google Doc Proposal
Production-ready n8n automation template for Generate Google Doc Proposal built by AhiXLight. Seamlessly connects Execute Workflow Trigger, Google Drive, OpenAI with 7 configured nodes.
Add a new lead to Pipedrive once GitHub repo is forked
This workflow automatically adds a new lead to Pipedrive once someone forks your GitHub repository. Prerequisites - Pipedrive account and Pipedrive credentia...
Add the affiliate to a program automatically
This workflow allows you to create an affiliate, add metadata, and add the affiliate to a program. !workflow-screenshot Tapfiliate node: This node allows you...
Add a note to Pipedrive s contact once PR is added on GitHub
This workflow automatically adds a note of the PR from GitHub to the Pipedrive contact if their GitHub email matches a Person in Pipedrive. Prerequisites - P...