You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

On this page

Use case

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


Configuration

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

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

Name

Enter Update Checklist as the name of the new action.

Method

Select the PUT method.

Default connection

Select the connection with the current instance.

REST path.

Enter the following REST path.

/rest/api/2/issue/{issueIdOrKey}


REST path parameter

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

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.

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



Related use cases


If you still have questions, feel free to refer to our support team.