Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Working with Trello cards in Eclipse

Is it possible to setup Trello as an Eclipse Mylyn task repository? Is there any existing connector or some other way to do it?

like image 458
urim Avatar asked Jan 25 '15 09:01

urim


2 Answers

This excellent tutorial explains how it may be done by using Web Template Connector along with the Trello REST API.

However, the regex pattern in #19 there isn't totally correct, and causes to some issues being skipped. It should be changed to this:

\"id\"[\x00-\x7F]+?\"idShort\":({Type}[0-9]+)[\x00-\x7F]+?\"name\":\"({Description}[\x00-\x7F]+?)\"[\x00-\x7F]+?\"shortLink\":\"({Id}[\x00-\x7F]+?)\"[\x00-\x7F]+?\"url\"

So that all user's cards will appear in the MyLyn repository.

like image 120
urim Avatar answered Oct 09 '22 07:10

urim


Correct regexp to tutorial. It supports labels of cards and cyrillic description.

All cards:

\"id\".+?\"idShort\":({Type}[0-9]+).+?(?:\"idLabels\".+?)\"name\":\"({Description}.+?)\",.+?\"shortLink\":\"({Id}.+?)\".+?\"url\"

Cards of your BOARD_ID

\"idBoard\":\"BOARD_ID\".+?\"idShort\":({Type}[0-9]+).+?(?:\"idLabels\".+?)\"name\":\"({Description}.+?)\",.+?\"shortLink\":\"({Id}.+?)\".+?\"url\"

like image 2
Rabotyahoff Avatar answered Oct 09 '22 07:10

Rabotyahoff