Open Context Protocol is live! 🚀 Read the launch post
deleteIssueFieldOption

deleteIssueFieldOption

Delete issue field option

Details

  • Method: DELETE
  • Path: /rest/api/3/field/{fieldKey}/option/{optionId}
  • Operation ID: deleteIssueFieldOption

Parameters

{
  "fieldKey": {
    "description": "The field key is specified in the following format: **$(app-key)\\_\\_$(field-key)**. For example, *example-add-on\\_\\_example-issue-field*. To determine the `fieldKey` value, do one of the following:\n\n *  open the app's plugin descriptor, then **app-key** is the key at the top and **field-key** is the key in the `jiraIssueFields` module. **app-key** can also be found in the app listing in the Atlassian Universal Plugin Manager.\n *  run [Get fields](#api-rest-api-3-field-get) and in the field details the value is returned in `key`. For example, `\"key\": \"teams-add-on__team-issue-field\"`",
    "required": true,
    "location": "path",
    "type": "string"
  },
  "optionId": {
    "description": "The ID of the option to be deleted.",
    "required": true,
    "location": "path",
    "type": "integer",
    "format": "int64"
  }
}

Response Schema

{}

Usage

from ocp_agent import OCPAgent

agent = OCPAgent()
await agent.register_api('jira')

# Call this tool
result = await agent.call_tool('deleteIssueFieldOption', {
    # Add required parameters here
})