How to create a 2-way sync between Wrike tasks and Jira issues
We're trying to create an integration between Wrike and Jira, where the following happens:
When a new Wrike task is created in a specific folder, a Jira issue is created, where the issue title and description come from the Wrike task
When a comment is added to the Jira issue, that comment should be copied to the Wrike task
When a comment is added to the Wrike task, that comment should be copied to the Jira issue
When the issue status is changed in Jira, the status is also changed on the Wrike task
The formatted task description in Wrike is apparently stored as HTML, while Jira Cloud uses text notation. Workato support suggested that I use gsub to search-and-replace the HTML tags with the corresponding text notations, but that seems overly complicated and makes it difficult if not impossible to send information the other direction as text notation doesn't always include closing tags that can be converted to HTML
We're running into and endless loop with the comments... a new comment in Jira triggers a new comment in Wrike, which triggers a new comment in Jira, and on and on.
Has anyone figured out how to create this type of 2-way integration with Workato? Is it even possible?
11 months ago
If it helps anyone else, I've managed to get around the endless loop described in #2 above:
When sending comments between systems, I started prefixing the comment text a new line reading either "Comment from Wrike" and "Comment from Jira"
When checking for new comments in either system, I'm ensuring that the comment didn't already come from the other system by checking for that text.
Now if I can get the text formatting worked out, this just might work... Any ideas/suggestions appreciated!