projectIds
is empty, a global context is created. A global context is one that applies to all project. If issueTypeIds
is empty, the context applies to all issue types.curl --location --request POST 'http://jira.local:8080/jira/rest//rest/api/3/field//context' \
--header 'Content-Type: application/json' \
--data-raw '{
"description": "A context used to define the custom field options for bugs.",
"issueTypeIds": [
"10010"
],
"name": "Bug fields context",
"projectIds": []
}'
{"id":"10025","name":"Bug fields context","description":"A context used to define the custom field options for bugs.","projectIds":[],"issueTypeIds":["10010"]}