TrelloConnector
Accesses the Trello webservice to create, update, archive, or list the contents of Trello Boards, Lists, and Cards.
Typical Uses
- Add workspace attributes to a Board or Card on your account
- Obtain Board or Card information to use in your workspace as attributes
- Manage your Trello account by Creating, Updating, and Deleting Trello Boards, Lists and Cards
- Create complex or duplicated Trello Boards, Lists, and Cards
- Chain TrelloConnectors to perform multiple operations using attributes from different accounts, Boards, Lists, or Cards
How does it work?
The TrelloConnector uses your Trello account credentials (either via a previously defined FME web connection, or by setting up a new FME web connection right from the transformer) to access the project management service.
Depending on your choice of actions, it will create, update, archive, or list information from Trello Boards, Lists, and Cards. On Create, Update, and List actions, information from the Trello objects can be added to the output features. On Archive actions, basic identification information from the archived Trello object is added to the output attribute.
Configuration
Input Ports
This transformer accepts any feature.
Output Ports
The output of this transformer will vary depending on the Trello Action performed.
- A Create or Update action will output a new feature that can have attributes listing various pieces of information about the object.
- An Archive action will output a new feature with attributes listing basic identification information about the object.
- A List action will output a new feature for each file/folder found in the path specified. Each of these new features will have attributes listing various pieces of information about the object.
Features that cause the operation to fail are output through this port. An fme_rejection_code attribute, having the value ERROR_DURING_PROCESSING, will be added, along with a more descriptive fme_rejection_message attribute which contains more specific details as to the reason for the failure.
Note: If a feature comes in to the TrelloConnector already having a value for fme_rejection_code, this value will be removed.
Rejected Feature Handling: can be set to either terminate the translation or continue running when it encounters a rejected feature. This setting is available both as a default FME option and as a workspace parameter.
Parameters
Action |
The type of operation to perform. Choices are:
|
Credential Source |
The TrelloConnector can use credentials from different sources. Using a web connection integrates best with FME, but in some cases, you may wish to use the embedded option.
|
Account |
Available when the credential source is Web Connection. To create a Trello connection, click the 'Account' drop-down box and select 'Add Web Connection...'. The connection can then be managed via Tools -> FME Options... -> Web Connections. |
Access Key and Access Token | Available when the credential source is Embedded. An access key and access token can be specified directly in the transformer instead of in a web connection. |
The remaining parameters available depend on the value of the Request > Action parameter. Parameters for each Action are detailed below.
Archive Options
Trello Type |
The Trello type of the object to perform the Archive operation on (Board, List, or Card). |
Trello Board ID |
If the Trello type is Board, the Trello board to archive, otherwise the Trello board that the object to archive is on. If valid credentials have been provided, you may browse for a board. |
Trello List ID |
Available when the Trello type is List or Card. If the Trello type is List, the Trello list to archive. If the Trello type is Card, the Trello list that the card to archive is on. If valid credentials have been provided and a valid board on your account has been selected, you may browse for a list. |
Trello Card ID |
Available when the Trello type is Card. The Trello card to archive. If valid credentials have been provided and a valid list on your account has been selected, you may browse for a card. |
Permanently Delete |
Choose whether to permanently delete the Trello object or not (WARNING: this cannot be undone). |
Create Options
Trello Type |
The Trello type of the object to perform the Create operation on (Board, List, or Card). |
Trello Board ID |
Available when the Trello type is List or Card. The Trello board to create the object on. If valid credentials have been provided, you may browse for a board. |
Trello List ID |
Available when the Trello type is Card. The Trello list to create the card on. If valid credentials have been provided and a valid board has been selected from your account, you may browse for a list. |
Name |
The name for the new Trello object. |
Description |
Available when the Trello type is Board or Card. The description for the new Trello object. |
Position |
Available when the Trello type is Card or List. The position of the new Trello object (Top or Bottom). |
Additional Board Parameters
These parameters are available when the Trello type is Board.
Trello Organization ID | The Trello team to add the board to. If valid credentials have been provided, you may browse for an organization. |
Permission Level | The permission level of the new board (Public, Private, or Organization). |
Additional Card Parameters
These parameters are available when the Trello type is Card.
Due Date and Time | The due date and time of the new Trello card, in the local timezone. Note: if an attribute value is passed to this parameter already containing timezone information, this timezone information will not be overwritten. |
Attachment File | A file to be added as an attachment to the new card. |
Attachment URL | A URL to be added as an attachment to the new card. |
Comment | A comment to add to the new card. |
Trello Member IDs | Members of the selected Trello board to add to the new card. If valid credentials have been provided and a valid board has been selected from your account, you may browse for members. |
List Options
Trello Type |
The Trello type of the object to perform the List operation on (Board, List, or Card). |
Trello Board ID |
Available when the Trello type is List or Card. The Trello board to list objects from. If valid credentials have been provided, you may browse for a board. |
Trello List ID |
Available when the Trello type is Card. The Trello list to list cards from. If valid credentials have been provided and a valid board on your account has been selected, you may browse for a list. |
Include Closed/Archived Objects |
Choose whether closed or archived objects should be listed. |
Update Options
Trello Type |
The Trello type of the object to perform the Update operation on (Board, List, or Card). |
Trello Board ID |
If the Trello type is Board, the Trello board to update, otherwise the Trello board that the object to update is on. If valid credentials have been provided, you may browse for a board. |
Trello List ID |
Available when the Trello type is List or Card. If the Trello type is List, the Trello list to update. If the Trello type is Card, the Trello list that the card to update is on. If valid credentials have been provided and a valid board has been selected from your account, you may browse for a list. |
Trello Card ID |
Available when the Trello type is Card. The Trello card to update. If valid credentials have been provided and a valid list on your account has been selected, you may browse for a card. |
Name |
The new name for the Trello object. |
Description |
Available when the Trello type is Board or Card. The new description for the Trello object. |
Position |
Available when the Trello type is Card or List. The new position of the Trello object (Top or Bottom). |
Additional Board Parameters
These parameters are available when the Trello type is Board.
Trello Organization ID | The Trello team to add the board to. If valid credentials have been provided, you may browse for an organization. |
Permission Level | The new permission level of the board (Public, Private, or Organization). |
Additional Card Parameters
These parameters are available when the Trello type is Card.
Due Date and Time | The new due date and time of the Trello card, in the local timezone. Note: if an attribute value is passed to this parameter already containing timezone information, this timezone information will not be overwritten. |
Attachment File | A file to be added as an attachment to new card. |
Attachment URL | A URL to be added as an attachment to the card. |
Comment | A comment to add to the card. |
Trello Member IDs | Members of the selected Trello board to add to the card. If valid credentials have been provided and a valid board has been selected from your account, you may browse for members. |
For the Create, List, and Update actions:
The selected attributes will be added to the output feature.
_id |
The ID of the Trello object. |
_name |
The name of the Trello object |
_url |
Available when the Trello type is Board or Card. The URL of the Trello object. |
_short_url |
Available when the Trello type is Board or Card. The short URL of the Trello object. |
_board_id |
Available when the Trello type is List or Card. The parent board ID of the Trello object. |
_list_id |
Available when the Trello type is Card. The parent list ID of the Trello card. |
_board_name |
Available when the Trello type is List or Card. The parent board name of the Trello object. |
_list_name |
Available when the Trello type is Card. The parent list name of the Trello card. |
_organization_id |
Available when the Trello type is Board. The team ID that the Trello board is added to. |
_organization_name |
Available when the Trello type is Board. The team name that the Trello board is added to. |
_description |
Available when the Trello type is Board or Card. The description of the Trello object. |
_member_ids{} |
Available when the Trello type is Board or Card. The ids of the members of the Trello object. |
_member_names |
Available when the Trello type is Board or Card. The names of the members of the Trello object. |
_due_date |
Available when the Trello type is Card. The due date and time for the Trello card, in UTC time zone and ISO format. |
_comments{} |
Available when the Trello type is Card. The comments on the Trello card. |
_attachment_urls{} |
Available when the Trello type is Card. URL links to the file and URL attachments of the Trello card. |
For the Archive action:
The following attributes will be added to the output feature.
_id |
The ID of the Trello object. |
_board_id |
Output when the Trello type is List or Card. The parent board ID of the Trello object. |
_list_id |
Output when the Trello type is Card. The parent list ID of the Trello card. |
Editing Transformer Parameters
Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.
Defining Values
There are several ways to define a value for use in a Transformer. The simplest is to simply type in a value or string, which can include functions of various types such as attribute references, math and string functions, and workspace parameters. There are a number of tools and shortcuts that can assist in constructing values, generally available from the drop-down context menu adjacent to the value field.
Using the Text Editor
The Text Editor provides a convenient way to construct text strings (including regular expressions) from various data sources, such as attributes, parameters, and constants, where the result is used directly inside a parameter.
Using the Arithmetic Editor
The Arithmetic Editor provides a convenient way to construct math expressions from various data sources, such as attributes, parameters, and feature functions, where the result is used directly inside a parameter.
Conditional Values
Set values depending on one or more test conditions that either pass or fail.
Parameter Condition Definition Dialog
Content
Expressions and strings can include a number of functions, characters, parameters, and more - whether entered directly in a parameter or constructed using one of the editors.
These functions manipulate and format strings. | |
A set of control characters is available in the Text Editor. | |
Math functions are available in both editors. | |
These operators are available in the Arithmetic Editor. | |
These return primarily feature-specific values. | |
FME and workspace-specific parameters may be used. | |
Working with User Parameters | Create your own editable parameters. |
Reference
Processing Behavior |
|
Feature Holding |
No |
Dependencies | Trello account |
FME Licensing Level | FME Base Edition and above |
Aliases | |
History | Released FME 2019.0 |
Categories |
FME Community
The FME Community is the place for demos, how-tos, articles, FAQs, and more. Get answers to your questions, learn from other users, and suggest, vote, and comment on new features.
Search for all results about the TrelloConnector on the FME Community.
Examples may contain information licensed under the Open Government Licence – Vancouver