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

Get a JSON with the values of a Checklist custom field of the transitioned issue using the Jira’s Get Issue REST API.



Configuration

UI Steps


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



UI Step

In Expert mode, create a new action with the following parameters:

UI Steps


UI Step

Name

Enter Get Checklist as the name of the new action.


UI Step

Method

Select the GET method.



UI Step

Default connection

Select the connection with the current instance.


UI Step

REST path.

Use the following REST path.

Code Block
languagebash
linenumberstrue
/rest/api/2/issue/{issueIdOrKey}



UI Step

REST path parameter

For the REST path parameter issueIdOrKey, enter select the field code %{issue.Issue key}.





UI Step

Update a Text field with the following expression after replacing the ID of the Checklist field with the appropriate one:

Code Block
languagebash
linenumberstrue
%{action.response.fields.customfield_10201}


UI Text Box
typeinfo

In order to obtain a particular value of the field, you should further specify the JMESPath query for the field code.




Related use cases

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Parser functions, 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