Elements Connect

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

"value"

Object (*)

JSON

{
  "id":"{key}",
  "value":"{template}"
}

Text - Select list (multiple choices)

Snapshot

List

["value1", "value2"]

Object (*)

JSON

"customfield_XXXXX": {
  "ids": [
      "key1",
      "key2"
    ],
  "values": [
      "value1",
      "value2"
    ]
  }

Text - Read only

Snapshot

String

"value"

Object (*)

JSON

{
  "id":"{key}",
  "value":"{template}"
}

Multi

List

["value1", "value2"]

User - Select list (single choice)

Live

JSON

{
  "accountId":"value"
}

User - Select list (multiple choices)

Live - Multi

List

[
  {"accountId":"value1"},
  {"accountId":"value2"}
]

User - Read only

Live

JSON

{
  "accountId":"value"
}

Date - Read only

Snapshot

String

“2025-01-01”

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:

Single value:

  • Format #1:

    {
      "id":"{key}",
      "value":""
    }
    
  • Format #2:

    {
      "id":"{key}",
      "value":null
    }
    

Multi value:

{
  "ids": ["key1", "key2"]
  "values": []
}