Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Note: Make sure the that the project(s) has Edit Permission: atlassian-addons-project-access

Check that the Field exists on the edit screen.

Field Formats

Users

Encrypted User Field

Code Block
languagejs
{
    "fieldId": "customfield_10122",
    "value": "{{accountId}}"
}

Unencrypted User Field

Code Block
languagejs
{
    "fieldId": "customfield_10122",
    "value": { 
      "accountId": "{{accountId}}"
    }
}

Multi-User picker

Encrypted Multi User Field

Code Block
languagejs
{
    "fieldId": "customfield_10122",
    "value": ["{{accountId-1}}", "{{accountId-2}}"]
}

Unencrypted Multi User Field

Code Block
languagejs
{
    "fieldId": "customfield_10122",
    "value": ["{{accountId-1}}", "{{accountId-2}}"]
}

Group field

Encrypted Group Field

Code Block
languagejs
{
    "fieldId": "customfield_10122",
    "value": {
      "groups": ["{{groupName-1}}", "{{groupName-2}}"]
    }
}

Unencrypted Group Field

Code Block
languagejs
{
    "fieldId": "customfield_10122",
    "value": {
      "groups": ["{{groupName-1}}", "{{groupName-2}}"]
    }
}

Collection Field

Encrypted Collection Field

Code Block
languagejs
{
    "fieldId": "customfield_10122",
    "value": ["{{value-1}}", "{{value-2}}"]
    }
}

Unencrypted Collection Field

Code Block
languagejs
{
    "fieldId": "customfield_10122",
    "value": {
      "groups": ["{{groupName-1}}", "{{groupName-2}}"]
    }
}

Number Field

Encrypted Number Field

Code Block
languagejs
{
    "fieldId": "customfield_10122",
    "value": {{number}}
    }
}

Unencrypted Number Field

Code Block
languagejs
{
    "fieldId": "customfield_10122",
    "value": {{number}}
}

Text Field

Encrypted Text Field

Code Block
languagejs
{
    "fieldId": "customfield_10122",
    "value": "{{text}}"
    }
}

Unencrypted Text Field

Code Block
languagejs
{
    "fieldId": "customfield_10122",
    "value": "{{text}}"
}