Coder Social home page Coder Social logo

freshdesk-zendesk-migration's Introduction

Migrate to Zendesk

Migrate your tickets, comments/notes, status away from Freshdesk and use the beautiful Zendesk!

Quick use

Clone the repo, and open f2z.py with your favorite text editor. Just change your Freshdesk and Zendesk credentials, and run the script with Python.

python f2z.py

Custom fields

Both services have custom fields. Update the custom_fields dictionary to migrate your fields. Keys are Freshdesk fields, values are Zendesk fields.

You can configure custom_field_freshdesk_url, this will set the previous Freshdesk ticket URL into this field.

Type Migration

This will migrate Freshdesk Ticket Types into Zendesk. Pass a dictionary to type_migration, keys being Freshdesk types and values Zendesk types.

Status Migration

If you're using custom statuses in Freshdesk, it will migrate them as status and tag in Zendesk. This will migrate Freshdesk Ticket Statuses into Zendesk. Pass a dictionary to status_migration, keys being Freshdesk statuses, values are tuples of Zendesk status and tags.

Run into a Python script

f2z.py is designed so you can include it in your own Python module. Here is an example:

import f2z
f2z = F2Z(
	freshdesk_company=freshdesk_company,
	freshdesk_username=freshdesk_username,
	freshdesk_pw=freshdesk_pw,
	zendesk_company=zendesk_company,
	zendesk_username=zendesk_username,
	zendesk_pw=zendesk_pw,
	freshdesk_cache_dir=os.path.join(
		os.path.dirname(__file__),
		'fcache',
	),
	custom_fields={
		'freshdesk_field':'4242',
	},
	custom_field_freshdesk_url='424242',
	type_migration={
		'Question':'Questions',
		'Bug':'Incidents',
		'Feature Request':'Tasks',
	},
	status_migration={
		8:('pending', 'pending-for-release',)
	}
)
f2z.migrate_all(205)

Roadmap

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.