{"action":"opened","issue":{"url":"https://api.github.com/repos/Kademi/kademi-dev/issues/1085","labels_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/1085/labels{/name}","comments_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/1085/comments","events_url":"https://api.github.com/repos/Kademi/kademi-dev/issues/1085/events","html_url":"https://github.com/Kademi/kademi-dev/issues/1085","id":121380548,"number":1085,"title":"Automation testability: Specify fixed delay for certain emails","user":{"login":"bradmac","id":826458,"avatar_url":"https://avatars.githubusercontent.com/u/826458?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmac","html_url":"https://github.com/bradmac","followers_url":"https://api.github.com/users/bradmac/followers","following_url":"https://api.github.com/users/bradmac/following{/other_user}","gists_url":"https://api.github.com/users/bradmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmac/subscriptions","organizations_url":"https://api.github.com/users/bradmac/orgs","repos_url":"https://api.github.com/users/bradmac/repos","events_url":"https://api.github.com/users/bradmac/events{/privacy}","received_events_url":"https://api.github.com/users/bradmac/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Kademi/kademi-dev/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"tuzzmaniandevil","id":3378330,"avatar_url":"https://avatars.githubusercontent.com/u/3378330?v=3","gravatar_id":"","url":"https://api.github.com/users/tuzzmaniandevil","html_url":"https://github.com/tuzzmaniandevil","followers_url":"https://api.github.com/users/tuzzmaniandevil/followers","following_url":"https://api.github.com/users/tuzzmaniandevil/following{/other_user}","gists_url":"https://api.github.com/users/tuzzmaniandevil/gists{/gist_id}","starred_url":"https://api.github.com/users/tuzzmaniandevil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuzzmaniandevil/subscriptions","organizations_url":"https://api.github.com/users/tuzzmaniandevil/orgs","repos_url":"https://api.github.com/users/tuzzmaniandevil/repos","events_url":"https://api.github.com/users/tuzzmaniandevil/events{/privacy}","received_events_url":"https://api.github.com/users/tuzzmaniandevil/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Kademi/kademi-dev/milestones/162","html_url":"https://github.com/Kademi/kademi-dev/milestones/Queen","labels_url":"https://api.github.com/repos/Kademi/kademi-dev/milestones/162/labels","id":1447340,"number":162,"title":"Queen","description":"New columns - SocialInteraction\r\n    private String socialPostHref; // path component only of the url of the item that the use interacted with\r\n    private Website relatedContentWebsite; // the website containing the kademi content item related to the social media post\r\n    private String relatedContentHref; // the path component within the website containing the kademi content item related to the social media post\r\n\r\nNew columns - OAuth2ProviderSetting\r\n    private String accountId;\r\n    private Date lastImportCompleted;\r\n\r\n","creator":{"login":"bradmac","id":826458,"avatar_url":"https://avatars.githubusercontent.com/u/826458?v=3","gravatar_id":"","url":"https://api.github.com/users/bradmac","html_url":"https://github.com/bradmac","followers_url":"https://api.github.com/users/bradmac/followers","following_url":"https://api.github.com/users/bradmac/following{/other_user}","gists_url":"https://api.github.com/users/bradmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bradmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradmac/subscriptions","organizations_url":"https://api.github.com/users/bradmac/orgs","repos_url":"https://api.github.com/users/bradmac/repos","events_url":"https://api.github.com/users/bradmac/events{/privacy}","received_events_url":"https://api.github.com/users/bradmac/received_events","type":"User","site_admin":false},"open_issues":39,"closed_issues":11,"state":"open","created_at":"2015-12-07T10:45:52Z","updated_at":"2015-12-10T01:23:46Z","due_on":"2015-12-10T16:00:00Z","closed_at":null},"comments":0,"created_at":"2015-12-10T01:23:46Z","updated_at":"2015-12-10T01:23:46Z","closed_at":null,"body":"A common request from people building automation campaigns is to do a complete test of all automation emails in a short period of time. Ideally they want the normal sequence, just with delays of a few minutes rather then days.\r\n\r\nHere is a suggested solution\r\n- The admin user configures automation test parameters: test email addresses and a fixed delay in minutes\r\n- When an automation is triggered, if it has a delay, check to see if the target email address is one of the test addresses, and if so create the trigger with the test delay instead of the delay period on the trigger\r\n- The automation is then scheduled with a short delay, but is otherwise processed normally\r\n\r\nAdditionally:\r\n- When an automation sends an email to a test address, mark that email as ignored, see #1051\r\n\r\nTest parameters should be stored in app settings"}}