{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1658","repository_url":"https://api.github.com/repos/Microsoft/vsts-tasks","labels_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1658/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1658/comments","events_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1658/events","html_url":"https://github.com/Microsoft/vsts-tasks/issues/1658","id":153615763,"number":1658,"title":"When visibleRule evaluates to false, default value should be saved","user":{"login":"gregjhogan","id":4112046,"avatar_url":"https://avatars.githubusercontent.com/u/4112046?v=3","gravatar_id":"","url":"https://api.github.com/users/gregjhogan","html_url":"https://github.com/gregjhogan","followers_url":"https://api.github.com/users/gregjhogan/followers","following_url":"https://api.github.com/users/gregjhogan/following{/other_user}","gists_url":"https://api.github.com/users/gregjhogan/gists{/gist_id}","starred_url":"https://api.github.com/users/gregjhogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregjhogan/subscriptions","organizations_url":"https://api.github.com/users/gregjhogan/orgs","repos_url":"https://api.github.com/users/gregjhogan/repos","events_url":"https://api.github.com/users/gregjhogan/events{/privacy}","received_events_url":"https://api.github.com/users/gregjhogan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"chrisrpatterson","id":185122,"avatar_url":"https://avatars.githubusercontent.com/u/185122?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisrpatterson","html_url":"https://github.com/chrisrpatterson","followers_url":"https://api.github.com/users/chrisrpatterson/followers","following_url":"https://api.github.com/users/chrisrpatterson/following{/other_user}","gists_url":"https://api.github.com/users/chrisrpatterson/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisrpatterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisrpatterson/subscriptions","organizations_url":"https://api.github.com/users/chrisrpatterson/orgs","repos_url":"https://api.github.com/users/chrisrpatterson/repos","events_url":"https://api.github.com/users/chrisrpatterson/events{/privacy}","received_events_url":"https://api.github.com/users/chrisrpatterson/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-05-07T20:20:46Z","updated_at":"2016-05-18T23:54:47Z","closed_at":null,"body":"Tasks inputs that have a `visibleRule` seem to save the last selected value even when they are hidden.  Seems like they should revert to a default value on save when they are not visible. Then you don't have to duplicate the visibility rules in the task definition and in the code."},"comment":{"url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/comments/220191875","html_url":"https://github.com/Microsoft/vsts-tasks/issues/1658#issuecomment-220191875","issue_url":"https://api.github.com/repos/Microsoft/vsts-tasks/issues/1658","id":220191875,"user":{"login":"bryanmacfarlane","id":919564,"avatar_url":"https://avatars.githubusercontent.com/u/919564?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanmacfarlane","html_url":"https://github.com/bryanmacfarlane","followers_url":"https://api.github.com/users/bryanmacfarlane/followers","following_url":"https://api.github.com/users/bryanmacfarlane/following{/other_user}","gists_url":"https://api.github.com/users/bryanmacfarlane/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanmacfarlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanmacfarlane/subscriptions","organizations_url":"https://api.github.com/users/bryanmacfarlane/orgs","repos_url":"https://api.github.com/users/bryanmacfarlane/repos","events_url":"https://api.github.com/users/bryanmacfarlane/events{/privacy}","received_events_url":"https://api.github.com/users/bryanmacfarlane/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T23:54:47Z","updated_at":"2016-05-18T23:54:47Z","body":"@chrisrpatterson to consider"}}