On this page



Use case

In this use case we will get the information from a Trello card and add it in a comment inside the transitioned issue. Moreover, we will save also the link of the Trello card in the Description field.


Prerequisites

For this use case we need a Connection for communication with Trello and an Action for executing the GET Trello card operation.


Configure the connection either inside the post function configuration or using the Remote actions page in the Manage apps administration by setting the following input.


Name

Trello


Connection type

Choose External.


Base URL

https://api.trello.com



Authentication

Choose No authentication.




Create the action either inside the post function configuration or using the Remote actions page in the Manage apps administration by setting the following input.


Name

Get Trello card


Method

Choose GET.


Default connection

The default connection of the selected action should be preselected, which is Trello.


REST path


/1/cards/{cardId}?{key}&{token}


Parameters

cardId

It is the ID of the card.

^[0-9a-fA-F]{24}$

key

It is a generated API key under Trello API key page.

token

It is a generated API token by using the previous key in the following URL:

https://trello.com/1/authorize?expiration=1day&name=MyPersonalToken&scope=read&response_type=token&key={key}




Configuration


Add the Execute remote action post function to the desired transition or create a new transition and choose the Expert mode.


Select action

Choose the previous created action which we named Get Trello card.


Select connection

It is automatically preselected with the default connection value of the selected action.


Update issue fields (optional)

Set the Card description inside a comment in the transitioned issue.

Select the field to be set.

Choose any text field.


Set the value.

Set it manually using the expression editor as follows:

%{action.response.desc}




Set the Card url inside the description field in the transitioned issue.

Select the field to be set.

Choose Description.


Set the value.

Set it manually using the expression editor as follows:

%{action.response.url}











Related use cases




JWT feature

Workflow function

Execute remote action

Label





Status
Tech review

Style guide