| Recommend this page to a friend! | 
| Info | Documentation | Reputation | Support forum | Blog | Links | 
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not yet rated by the users | Total: 17 | All time:  11,405 This week: 455 | ||||
| Version | License | PHP version | Categories | |||
| subtaskdate 1.0 | The PHP License | 5 | PHP 5, Libraries, Project Management | 
| Description | Author  | ||||||||
This package is a Kanboard plugin to add due date to sub-tasks.  | 
  | 
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:
Parameters:
- task_id (integer, required) - title (integer, required) - user_id (int, optional) - time_estimated (int, optional) - time_spent (int, optional) - status (int, optional) - due_date (int, optional)
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
}
Parameters:
- id (integer, required) - task_id (integer, required) - title (integer, optional) - user_id (integer, optional) - time_estimated (integer, optional) - time_spent (integer, optional) - status (integer, optional) - due_date (int, optional)
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
}
PS: _(This is automatic for Subtaskdate versions >= 1.1.1)_ - Commented dashboard hook to work with versions >=1.0.41, if you are using a version prior to that, just uncomment lines 33 and 34
You have the choice between 3 methods:
Note: Plugin folder is case-sensitive.
| / | Schema | 
| File | Role | Description | 
|---|---|---|
|    | 
Example | Example script | 
|    | 
Example | Example script | 
|    | 
Example | Example script | 
| / | Template | / | subtask | 
| File | Role | Description | 
|---|---|---|
|    | 
Example | Example script | 
|    | 
Example | Example script | 
|    | 
Example | Example script | 
| The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. | 
| Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
| 100% | 
  | 
  | 
| Applications that use this package | 
 If you know an application of this package, send a message to the author to add a link here.