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

Update Set a Checklist custom field of Checklist for Jira in the transitioned issue using Jira’s Edit issue REST API.



Image ModifiedConfiguration

UI Steps


UI Step
Add the Execute remote action post function to the transition of your choice.


UI Step

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

UI Steps


UI Step

Name

Enter Update Set Checklist as the name of the new action.


UI Step

Method

Select the PUT method.


UI Step

Default connection

Select the connection with the current instance.


UI Step

REST path.

Enter the following REST path.

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



UI Step

REST path parameter

For the REST path parameter issueIdOrKey, select the field Issue key.





UI Step

Action body

Enter an action body like the following one. For more indications on how to configure the action body to update a Checklist custom field, visit the Checklist documentation.

Code Block
languagebash
linenumberstrue
{
	"update": {
		"customfield_10101aaaaa": [
			{
				"set": [
 						  {
    					 	"name":"Item",
  						    "checked":false,
      						"mandatory":true,
      						"id":3,
      						"globalItemId":1,
      						"rank":0,
      						"assigneeIds":[      
      										],
      						"isHeader":false,
      						"status":null
   						}
				]
			}
		]
	}
}


UI Text Box
typenote

It is necessary to specify the Checklist field ID in the action body, defined as aaaaa in our example.





Image ModifiedRelated 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