{
  "opencollection": "1.0.0",
  "info": {
    "name": "Atlassian Admin Account Issue Custom Field Options API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Issue Custom Field Options",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Atlassian Get Custom Field Option",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/rest/api/3/customFieldOption/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the custom field option."
              }
            ]
          },
          "docs": "Returns a custom field option. For example, an option in a select list.<br><br>Note that this operation **only works for issue field select list options created in Jira or using operations from the [Issue custom field options](#api-group-Issue-custom-field-options) resource**, it cannot be used with issue field select list options created by Connect apps.<br><br>This operation can be accessed anonymously.<br><br>**[Permissions](#permissions) required:** The custom field option is returned as fol"
        },
        {
          "info": {
            "name": "Atlassian Get Custom Field Options Context",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.atlassian.com/rest/api/3/field/:fieldId/context/:contextId/option",
            "params": [
              {
                "name": "fieldId",
                "value": "",
                "type": "path",
                "description": "The ID of the custom field."
              },
              {
                "name": "contextId",
                "value": "",
                "type": "path",
                "description": "The ID of the context."
              },
              {
                "name": "optionId",
                "value": "",
                "type": "query",
                "description": "The ID of the option."
              },
              {
                "name": "onlyOptions",
                "value": "",
                "type": "query",
                "description": "Whether only options are returned."
              },
              {
                "name": "startAt",
                "value": "",
                "type": "query",
                "description": "The index of the first item to return in a page of results (page offset)."
              },
              {
                "name": "maxResults",
                "value": "",
                "type": "query",
                "description": "The maximum number of items to return per page."
              }
            ]
          },
          "docs": "Returns a [paginated](#pagination) list of all custom field option for a context. Options are returned first then cascading options, in the order they display in Jira.<br><br>This operation works for custom field options created in Jira or the operations from this resource. **To work with issue field select list options created for Connect apps use the [Issue custom field options (apps)](#api-group-issue-custom-field-options--apps-) operations.**<br><br>**[Permissions](#permissions) required:** "
        },
        {
          "info": {
            "name": "Atlassian Create Custom Field Options Context",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.atlassian.com/rest/api/3/field/:fieldId/context/:contextId/option",
            "params": [
              {
                "name": "fieldId",
                "value": "",
                "type": "path",
                "description": "The ID of the custom field."
              },
              {
                "name": "contextId",
                "value": "",
                "type": "path",
                "description": "The ID of the context."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates options and, where the custom select field is of the type Select List (cascading), cascading options for a custom select field. The options are added to a context of the field.<br><br>The maximum number of options that can be created per request is 1000 and each field can have a maximum of 10000 options.<br><br>This operation works for custom field options created in Jira or the operations from this resource. **To work with issue field select list options created for Connect apps use the"
        },
        {
          "info": {
            "name": "Atlassian Update Custom Field Options Context",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.atlassian.com/rest/api/3/field/:fieldId/context/:contextId/option",
            "params": [
              {
                "name": "fieldId",
                "value": "",
                "type": "path",
                "description": "The ID of the custom field."
              },
              {
                "name": "contextId",
                "value": "",
                "type": "path",
                "description": "The ID of the context."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the options of a custom field.<br><br>If any of the options are not found, no options are updated. Options where the values in the request match the current values aren't updated and aren't reported in the response.<br><br>Note that this operation **only works for issue field select list options created in Jira or using operations from the [Issue custom field options](#api-group-Issue-custom-field-options) resource**, it cannot be used with issue field select list options created by Conn"
        },
        {
          "info": {
            "name": "Atlassian Reorder Custom Field Options Context",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.atlassian.com/rest/api/3/field/:fieldId/context/:contextId/option/move",
            "params": [
              {
                "name": "fieldId",
                "value": "",
                "type": "path",
                "description": "The ID of the custom field."
              },
              {
                "name": "contextId",
                "value": "",
                "type": "path",
                "description": "The ID of the context."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Changes the order of custom field options or cascading options in a context.<br><br>This operation works for custom field options created in Jira or the operations from this resource. **To work with issue field select list options created for Connect apps use the [Issue custom field options (apps)](#api-group-issue-custom-field-options--apps-) operations.**<br><br>**[Permissions](#permissions) required:** *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg)."
        },
        {
          "info": {
            "name": "Atlassian Delete Custom Field Options Context",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.atlassian.com/rest/api/3/field/:fieldId/context/:contextId/option/:optionId",
            "params": [
              {
                "name": "fieldId",
                "value": "",
                "type": "path",
                "description": "The ID of the custom field."
              },
              {
                "name": "contextId",
                "value": "",
                "type": "path",
                "description": "The ID of the context from which an option should be deleted."
              },
              {
                "name": "optionId",
                "value": "",
                "type": "path",
                "description": "The ID of the option to delete."
              }
            ]
          },
          "docs": "Deletes a custom field option.<br><br>Options with cascading options cannot be deleted without deleting the cascading options first.<br><br>This operation works for custom field options created in Jira or the operations from this resource. **To work with issue field select list options created for Connect apps use the [Issue custom field options (apps)](#api-group-issue-custom-field-options--apps-) operations.**<br><br>**[Permissions](#permissions) required:** *Administer Jira* [global permissio"
        }
      ]
    }
  ],
  "bundled": true
}