diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-06-20 19:21:35 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-06-20 19:21:35 -0400 |
commit | 7b947ebdbd3b6bcd9de10ea4255bfa11fc88695c (patch) | |
tree | ec67439696608efb9e330c527c6a8f76da9d5c6d /docs | |
parent | 22b26d0b4d68f0492275ec93eb4df1a975a8fc80 (diff) |
Allow sync of Github comments without common username and add unit tests
Diffstat (limited to 'docs')
-rw-r--r-- | docs/api-json-rpc.markdown | 4 | ||||
-rw-r--r-- | docs/github-webhooks.markdown | 5 | ||||
-rw-r--r-- | docs/webhooks.markdown | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/docs/api-json-rpc.markdown b/docs/api-json-rpc.markdown index dc7254d9..0d192db3 100644 --- a/docs/api-json-rpc.markdown +++ b/docs/api-json-rpc.markdown @@ -2823,7 +2823,7 @@ Response example: "id": "1", "task_id": "1", "user_id": "1", - "date": "1410881970", + "date_creation": "1410881970", "comment": "Comment #1", "username": "admin", "name": null @@ -2861,7 +2861,7 @@ Response example: "result": [ { "id": "1", - "date": "1410882272", + "date_creation": "1410882272", "task_id": "1", "user_id": "1", "comment": "Comment #1", diff --git a/docs/github-webhooks.markdown b/docs/github-webhooks.markdown index b8e9c3f6..a20b5a18 100644 --- a/docs/github-webhooks.markdown +++ b/docs/github-webhooks.markdown @@ -82,7 +82,7 @@ When a task is created from a Github issue, the link to the issue is added to th - Choose the event: **Github issue assignee change** - Choose the action: **Change the assignee based on an external username** -Note: The username must be the same between Github and Kanboard. +Note: The username must be the same between Github and Kanboard and the user must be member of the project. ### Assign a category when an issue is tagged on Github @@ -95,4 +95,5 @@ Note: The username must be the same between Github and Kanboard. - Choose the event: **Github issue comment created** - Choose the action: **Create a comment from an external provider** -Note: The username of the comment author must be the same between Github and Kanboard and the task must exists before. +If the username is the same between Github and Kanboard the comment author will be assigned, otherwise there is no author. +The user also have to be member of the project in Kanboard. diff --git a/docs/webhooks.markdown b/docs/webhooks.markdown index 4ace116b..f7925350 100644 --- a/docs/webhooks.markdown +++ b/docs/webhooks.markdown @@ -198,7 +198,7 @@ Comment creation: "task_id": "1", "user_id": "1", "comment": "test", - "date": 1431991615 + "date_creation": 1431991615 } } ``` |