Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

On this page

Table of Contents
maxLevel2
exclude(On this page|Use case).*
stylecircle
typeflat
separatorpipe



UI Text Box
sizemedium
typeinfo

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

UI Text Box
typeinfo

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


UI Expand
titleCreate a connection

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.

UI Steps


UI Step

Name

Trello


UI Step

Connection type

Choose External.


UI Step

Base URL

Code Block
https://api.trello.com



UI Step

Authentication

UI Text Box
typeinfo

Trello's API uses token-based authentication to grant third-party applications access to the Trello API. Refer to authentication setup page for creating the needed API key and API token (query parameters).

Choose No authentication.




UI Expand
titleCreate an action

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.

UI Steps


UI Step

Name

Get Trello card


UI Step

Method

Choose GET.


UI Step

Default connection

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


UI Step

REST path


Code Block
linenumberstrue
/1/cards/{cardId}?{key}&{token}


Excerpt Include
DECADIS:_snip_execute_remote_action_use_case_values
DECADIS:_snip_execute_remote_action_use_case_values
nopaneltrue

UI Step

Parameters

cardId

It is the ID of the card.

Code Block
linenumberstrue
^[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

UI Steps


UI Step

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


UI Step

Select action

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


UI Step

Select connection

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


UI Step

Update issue fields (optional)

Excerpt Include
DECADIS:_snip_execute_remote_action_default_responses
DECADIS:_snip_execute_remote_action_default_responses
nopaneltrue

UI Steps

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

UI Step

Select the field to be set.

Choose any text field.


UI Step

Set the value.

Set it manually using the expression editor as follows:

Code Block
linenumberstrue
%{action.response.desc}




UI Steps

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

UI Step

Select the field to be set.

Choose Description.


UI Step

Set the value.

Set it manually using the expression editor as follows:

Code Block
linenumberstrue
%{action.response.url}











Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser function, Label
sortByTitle
cqllabel = "use-case-workflow" and ancestor = "73403011"


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Execute remote action

Label



Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged