curl --location --request POST '/rest/api/3/uiModifications' \
--header 'Content-Type: application/json' \
--data-raw '{
    "contexts": [
        {
            "issueTypeId": "10000",
            "projectId": "10000",
            "viewType": "GIC"
        },
        {
            "issueTypeId": "10001",
            "projectId": "10000",
            "viewType": "IssueView"
        },
        {
            "issueTypeId": "10002",
            "projectId": "10000",
            "viewType": "IssueTransition"
        },
        {
            "issueTypeId": "10003",
            "projectId": "10000",
            "viewType": null
        }
    ],
    "data": "{field: '\''Story Points'\'', config: {hidden: false}}",
    "description": "Reveals Story Points field when any Sprint is selected.",
    "name": "Reveal Story Points"
}'