• Documentation
  • Workato Blog
  • Product Blog
  • Return to Workato
  • Login
  • Automation Institute
  • Documentation
  • Community Forums
New Topic
Discussions Recipe Building Recipe Building Questions
L

Laura Boylan

started a topic over 3 years ago

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:
  1. 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
  2. When a comment is added to the Jira issue, that comment should be copied to the Wrike task
  3. When a comment is added to the Wrike task, that comment should be copied to the Jira issue
  4. When the issue status is changed in Jira, the status is also changed on the Wrike task

Problems:
  1. 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
  2. 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?
L

Laura Boylan

said over 3 years ago

If it helps anyone else, I've managed to get around the endless loop described in #2 above:

  1. When sending comments between systems, I started prefixing the comment text a new line reading either "Comment from Wrike" and "Comment from Jira"
  2. 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!
Login to post a comment

Still can't find your solution?

Send us a ticket, we will try our best to assist you with your problem

Documentation
Developer's Library
Tutorials
eBooks
Product Hour
Product Blog
Workato Blog
Product updates
Customer Stories
© Workato 2022   Privacy   Terms   +1 (844) 469-6752
  • Documentation
  • Workato Blog
  • Product Blog
  • Solutions
  • Forums
  • Tickets
  • Log in
  • Return to Workato
Topic views count