Update Jira custom field examples

Some body example to update different field types

Text field

{ "fields":{"customfield_10201":"MY AWESOME VALUE"} }

 

Insight field

 

{ "fields": { "customfield_10030": [{"key": "MYKEY-123"}"}] } }

 

Date field

 

 

Select List

{ "fields": { "customfield_14470" : { "value": "MY OPTION" } } }

or


 

Multi Select List

 

 

Single User Field

 

The user picker takes a single object with {name: username}

Multi User Field

 

The user picker takes an array of objects with {name: username}

Portfolio Team

 

ID of the team, in this case 512

Reporter (native field)

 

Sets reporter from another ticket

Checkbox

 

customfield_10300 is a checkbox field that that has the option GitHub Repo.

 

Note that sending this payload will set the GitHub Repo as checked and leave the other option blank, so if you have checked a item before make sure to either include that as an option or accept it to be the overwritten

Â