eSkiSo / Subtaskdate

Kanboard Plugin to add Due Date to Subtasks
23 stars 6 forks source link

SubTask Due Date

Filter

Search by the due date

Attribute: subtask_due

The date must use the ISO 8601 format: YYYY-MM-DD.

All string formats supported by the strtotime() function are supported, for example next Thursday, -2 days, +2 months, tomorrow, etc.

Operators supported with a date:

API

createSubtaskdd

Request example:

{
    "jsonrpc": "2.0",
    "method": "createSubtaskdd",
    "id": 2041554661,
    "params": {
        "task_id": 1,
        "title": "Subtask #1",
        "due_date": 1523998125
    }
}

Response example:

{
    "jsonrpc": "2.0",
    "id": 2041554661,
    "result": 45
}

updateSubtaskdd

Request example:

.. code:: json

{
    "jsonrpc": "2.0",
    "method": "updateSubtaskdd",
    "id": 191749979,
    "params": {
        "id": 1,
        "task_id": 1,
        "status": 1,
        "time_spent": 5,
        "user_id": 1,
        "due_date": 1523998125
    }
}

Response example:

.. code:: json

{
    "jsonrpc": "2.0",
    "id": 191749979,
    "result": true
}

Authors

Requirements

PS: (This is automatic for Subtaskdate versions >= 1.1.1)

Installation

You have the choice between 3 methods:

  1. Install the plugin from the Kanboard plugin manager in one click (not yet)
  2. Download the zip file and decompress everything under the directory plugins/Subtaskdate
  3. Clone this repository into the folder plugins/Subtaskdate

Note: Plugin folder is case-sensitive.