Data storage format
For Connected Custom fields, the table below outlines how data should be formatted depending on the field type:
Field Type | Storage format | Example | |
---|---|---|---|
Text - Select list (single choice) | Snapshot | String |
|
Object (*) | JSON |
CODE
| |
Text - Select list (multiple choices) | Snapshot | List |
|
Text - Read only | Snapshot | String |
|
Object (*) | JSON |
CODE
| |
Multi | List |
| |
User - Select list (single choice) | Snapshot | JSON |
CODE
|
User - Read only | Snapshot | JSON |
CODE
|
Read only | Snapshot | String |
|
For Object fields, when the "Recalculate displayed value on issue view" option is enabled and correctly set up, only the id
needs to be provided. The value
attribute will then be automatically computed when accessing the issue view.
Accepted formats:
Format #1:
CODE{ "id":"{key}", "value":"" }
Format #2:
CODE{ "id":"{key}", "value":null }