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 insight object entries of a Jira Cloud isssue and afterwards add them in a commentissue and write the respective object labels to a custom text field.


Prerequisites

UI Text Box
typeinfo

For this use case we need an Action for executing the get Insight object entries operation. It should be executed in a Jira cloud instance using the current instance connection.


Create the action either inside the post function configuration or in the Connector app by setting the following input.
UI Expand
titleCreate an action


UI Steps


UI Step

Name

Get insight object entries


UI Step

Method

Choose GET.


UI Step

Default connection

Choose Current instance.


UI Step

REST path


Code Block
linenumberstrue
/jsm/insight/workspace/{workspaceId}/v1/iql/objects?{iql}



iql

The iql stands for "insight query language" and it is the query way how to determine which objects that should be fetched. In this case we want to get all the objects related to the transitioned issue.

UI Step

Parameters

workspaceId

The workspaceId is used to identify your individual instance of Insight. It is retrieved through the following endpoint: https://SITE_NAME.atlassian.net/rest/servicedeskapi/insight/workspace.

Code Block
linenumberstrue
Code Block
linenumberstrue
object HAVING connectedTickets(key = %{issue.key})





Configuration

UI Steps


UI Step

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


UI Step

Select action

Choose the previous created action which we named Get insight object entries.


UI Step

Select connection

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


UI Step

Storing results

Excerpt Include
DECADIS:_snip_execute_remote_action_default_responses
DECADIS:_snip_execute_remote_action_default_responses
nopaneltrue

UI Steps


UI Step

Select the field to be set.

Choose New commentthe text custom field to hold the object entry labels.


UI Step

Set the value.

Choose Response status List of object labels.










Related use cases

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


Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


JWT feature

Workflow function

Assign to project roleExecute remote action

Label



Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledonetodo

Style guide

Green
Status
colour
titledonetodo

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