Atlassian · Schema

OrderOfCustomFieldOptions

An ordered list of custom field option IDs and information on where to move them.

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
after string The ID of the custom field option or cascading option to place the moved options after. Required if `position` isn't provided.
customFieldOptionIds array A list of IDs of custom field options to move. The order of the custom field option IDs in the list is the order they are given after the move. The list must contain custom field options or cascading
position string The position the custom field options should be moved to. Required if `after` isn't provided.
View JSON Schema on GitHub

JSON Schema

atlassian-orderofcustomfieldoptions-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrderOfCustomFieldOptions",
  "title": "OrderOfCustomFieldOptions",
  "additionalProperties": false,
  "description": "An ordered list of custom field option IDs and information on where to move them.",
  "properties": {
    "after": {
      "description": "The ID of the custom field option or cascading option to place the moved options after. Required if `position` isn't provided.",
      "type": "string",
      "writeOnly": true
    },
    "customFieldOptionIds": {
      "description": "A list of IDs of custom field options to move. The order of the custom field option IDs in the list is the order they are given after the move. The list must contain custom field options or cascading options, but not both.",
      "items": {
        "type": "string",
        "writeOnly": true
      },
      "type": "array",
      "writeOnly": true
    },
    "position": {
      "description": "The position the custom field options should be moved to. Required if `after` isn't provided.",
      "enum": [
        "First",
        "Last"
      ],
      "type": "string",
      "writeOnly": true
    }
  },
  "required": [
    "customFieldOptionIds"
  ],
  "type": "object"
}