{"action":"created","issue":{"url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/issues/803","labels_url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/issues/803/labels{/name}","comments_url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/issues/803/comments","events_url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/issues/803/events","html_url":"https://github.com/FWAJL/FieldWorkAssistantMVC/issues/803","id":66259616,"number":803,"title":"Discussion Thread Milestone B(1) - Send Message to Field Technician","user":{"login":"bsaiken","id":8228624,"avatar_url":"https://avatars.githubusercontent.com/u/8228624?v=3","gravatar_id":"","url":"https://api.github.com/users/bsaiken","html_url":"https://github.com/bsaiken","followers_url":"https://api.github.com/users/bsaiken/followers","following_url":"https://api.github.com/users/bsaiken/following{/other_user}","gists_url":"https://api.github.com/users/bsaiken/gists{/gist_id}","starred_url":"https://api.github.com/users/bsaiken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsaiken/subscriptions","organizations_url":"https://api.github.com/users/bsaiken/orgs","repos_url":"https://api.github.com/users/bsaiken/repos","events_url":"https://api.github.com/users/bsaiken/events{/privacy}","received_events_url":"https://api.github.com/users/bsaiken/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/labels/priority:very%20high","name":"priority:very high","color":"e11d21"},{"url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/labels/status:more%20info%20required","name":"status:more info required","color":"207de5"}],"state":"open","locked":false,"assignee":{"login":"nadirhamid","id":7277417,"avatar_url":"https://avatars.githubusercontent.com/u/7277417?v=3","gravatar_id":"","url":"https://api.github.com/users/nadirhamid","html_url":"https://github.com/nadirhamid","followers_url":"https://api.github.com/users/nadirhamid/followers","following_url":"https://api.github.com/users/nadirhamid/following{/other_user}","gists_url":"https://api.github.com/users/nadirhamid/gists{/gist_id}","starred_url":"https://api.github.com/users/nadirhamid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadirhamid/subscriptions","organizations_url":"https://api.github.com/users/nadirhamid/orgs","repos_url":"https://api.github.com/users/nadirhamid/repos","events_url":"https://api.github.com/users/nadirhamid/events{/privacy}","received_events_url":"https://api.github.com/users/nadirhamid/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/milestones/23","html_url":"https://github.com/FWAJL/FieldWorkAssistantMVC/milestones/Discussion%20Thread","labels_url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/milestones/23/labels","id":1011059,"number":23,"title":"Discussion Thread","description":"","creator":{"login":"bsaiken","id":8228624,"avatar_url":"https://avatars.githubusercontent.com/u/8228624?v=3","gravatar_id":"","url":"https://api.github.com/users/bsaiken","html_url":"https://github.com/bsaiken","followers_url":"https://api.github.com/users/bsaiken/followers","following_url":"https://api.github.com/users/bsaiken/following{/other_user}","gists_url":"https://api.github.com/users/bsaiken/gists{/gist_id}","starred_url":"https://api.github.com/users/bsaiken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsaiken/subscriptions","organizations_url":"https://api.github.com/users/bsaiken/orgs","repos_url":"https://api.github.com/users/bsaiken/repos","events_url":"https://api.github.com/users/bsaiken/events{/privacy}","received_events_url":"https://api.github.com/users/bsaiken/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":2,"state":"open","created_at":"2015-03-08T04:46:28Z","updated_at":"2015-04-16T04:34:09Z","due_on":"2015-04-20T07:00:00Z","closed_at":null},"comments":13,"created_at":"2015-04-04T01:15:32Z","updated_at":"2015-04-17T14:47:33Z","closed_at":null,"body":"Entering text in the left hand column will activate the “Send” button in order to send the message.  \r\n\r\nAll messages shall be stored in the database to build a discussion thread history. You will need to request a new table (e.g. “discussion”) to store the discussion thread history.  \r\n\r\nThe table shall include the columns:\r\ndiscussion_id\r\ntask_id. \r\n\r\nA another table (“discussion_content”) will hold the messages for a discussion so the columns will be:\r\ndiscussion_content_id, \r\ndiscussion_id, \r\ndiscussion_content_category_type (e.g. technician_id) \r\ndiscussion_content_category_value (id value of the discussion_content_category_type ) \r\ndiscussion_content_value (the actual message sent at a given time).  \r\n\r\nThe tables structure may be modified as needed.\r\n\r\nThe message shall be sent to the FT.  The method for delivering the message is at your (the developer) discretion.  This can be done via email, txt, integrated into the Field Technician interface, or some other method.  Initially, I prefer the most readily available, cost effective method - we may add more messaging options to the site in the future.  The FT shall have some simple (single click) method to respond.  \r\n\r\nDiscussions with Field Technicians can be text only.  "},"comment":{"url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/issues/comments/94000620","html_url":"https://github.com/FWAJL/FieldWorkAssistantMVC/issues/803#issuecomment-94000620","issue_url":"https://api.github.com/repos/FWAJL/FieldWorkAssistantMVC/issues/803","id":94000620,"user":{"login":"nadirhamid","id":7277417,"avatar_url":"https://avatars.githubusercontent.com/u/7277417?v=3","gravatar_id":"","url":"https://api.github.com/users/nadirhamid","html_url":"https://github.com/nadirhamid","followers_url":"https://api.github.com/users/nadirhamid/followers","following_url":"https://api.github.com/users/nadirhamid/following{/other_user}","gists_url":"https://api.github.com/users/nadirhamid/gists{/gist_id}","starred_url":"https://api.github.com/users/nadirhamid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadirhamid/subscriptions","organizations_url":"https://api.github.com/users/nadirhamid/orgs","repos_url":"https://api.github.com/users/nadirhamid/repos","events_url":"https://api.github.com/users/nadirhamid/events{/privacy}","received_events_url":"https://api.github.com/users/nadirhamid/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T14:47:33Z","updated_at":"2015-04-17T14:47:33Z","body":"Hi so,\r\n\r\n'discussion_is_receiver' is in part a request to move 'discussion_content_type'\r\nand 'discussion_content_value' into the 'discussions' table. So:\r\n\r\ndiscussions => \r\n'discussion_receiver_user_type'\r\n'discussion_receiver_value'\r\n\r\ndiscussion_content =>\r\n'discussion_is_receiver'\r\n\r\n"}}