From 7b947ebdbd3b6bcd9de10ea4255bfa11fc88695c Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 20 Jun 2015 19:21:35 -0400 Subject: Allow sync of Github comments without common username and add unit tests --- docs/api-json-rpc.markdown | 4 ++-- docs/github-webhooks.markdown | 5 +++-- docs/webhooks.markdown | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'docs') 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 } } ``` -- cgit v1.2.3