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

This use case considers the situation of working with two Jira instances. On one hand there is a support instance where the tickets are created by user reports and on the other an internal development instance. Based on the user request an issue is opened and addressed to the developers team. When the internal ticket is resolved (Done), we will use this template to close the support ticket.


Configuration

UI Steps


UI Step

Add the Execute remote action post function to the desired transition or create a new transition.


UI Step

Create remote action

Select the action to get started. Choose Transition an issue.


UI Step

Select connection

Choose an existing connection to the external Jira instance or create a new connection.


UI Step

Customize your action

UI Steps

Set action parameters

Excerpt Include
DECADIS:_snip_execute_remote_action_use_case_values
DECADIS:_snip_execute_remote_action_use_case_values
nopaneltrue

UI Step

Issue key

Since there is no automatic way of grabbing the external linked issues we will set it manually as ISSUE-1. It is a not realistic value created only for the sake of the example!

Code Block
linenumberstrue
ISSUE-1




UI Step

Transition ID

Set it manually using the expression editor as follows (in this case, the transition with ID 2 is the one that moves the ticket to Done):


Code Block
linenumberstrue
2




UI Text Box
typenote

Optionally, you can use the Update issue fields (optional) section to save the response body or parts of it into some field.


UI Steps

Update issue fields (optional)

The description of the ticket shall reflect the returned status of the executed action, e.g. a value of 201 indicates that the action has been executed successfully.

UI Step

Select the field to be set.

Choose Description.


UI Step

Set the value.

Choose Response status.








Related use cases

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


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Execute remote action

Parser functions

nthElement()

linkedIssues()

toString()

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