List issue options

Issue statuses, priorities and time-entry activities of the instance, with IDs.

GET https://cotlet.dev/api/v1/redmine/issue-options

read

Returns the statuses (with whether each counts as closed), the priorities and the time-entry activities defined on the instance, each with its ID and whether it is the default. Use these IDs in create_issue, update_issue and log_time. Names and IDs differ per instance.

Parameters

No parameters.

Request

cURL
curl https://cotlet.dev/api/v1/redmine/issue-options \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("redmine", "list_issue_options")
Node.js
const result = await cotlet.call('redmine', 'list_issue_options');
CLI
cotlet call redmine list_issue_options

Example response

JSON

{
  "statuses": [
    {
      "id": 1,
      "name": "New",
      "is_closed": false
    },
    {
      "id": 2,
      "name": "In Progress",
      "is_closed": false
    },
    {
      "id": 5,
      "name": "Closed",
      "is_closed": true
    }
  ],
  "priorities": [
    {
      "id": 2,
      "name": "Normal",
      "is_default": true
    },
    {
      "id": 3,
      "name": "High",
      "is_default": false
    }
  ],
  "time_entry_activities": [
    {
      "id": 9,
      "name": "Development",
      "is_default": true
    },
    {
      "id": 10,
      "name": "Design",
      "is_default": false
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.