I'm not aware of any open source code that will do this. You would need to write your own. Both services have a REST API, so it's not that hard. There are also Apps that you can install in Jira to do this.
Perspectium Replicator for Jira
You'll have to read over the docs to see if they can do what you need them to do, though.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.