Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 3 Next »

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

Multi Select List

Single User Field

{
    "fields": {
        "customfield_10480": { "name": "{{issue.reporter.username}}"}
    }
}

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

Multi User Field

{
    "fields": {
        "customfield_10480": [{ "name": "{{issue.reporter.username}}"},{ "name": "{{issue.reporter.username}}"}]
    }
}

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

Portfolio Team

{
    "fields": {
        "customfield_12890": 512
    }
}

ID of the team, in this case 512

  • No labels