{"action":"created","issue":{"url":"https://api.github.com/repos/pallets/click/issues/946","repository_url":"https://api.github.com/repos/pallets/click","labels_url":"https://api.github.com/repos/pallets/click/issues/946/labels{/name}","comments_url":"https://api.github.com/repos/pallets/click/issues/946/comments","events_url":"https://api.github.com/repos/pallets/click/issues/946/events","html_url":"https://github.com/pallets/click/issues/946","id":303577201,"number":946,"title":"Auto set option value based on previous option selected value","user":{"login":"jonbgallant","id":2163001,"avatar_url":"https://avatars1.githubusercontent.com/u/2163001?v=4","gravatar_id":"","url":"https://api.github.com/users/jonbgallant","html_url":"https://github.com/jonbgallant","followers_url":"https://api.github.com/users/jonbgallant/followers","following_url":"https://api.github.com/users/jonbgallant/following{/other_user}","gists_url":"https://api.github.com/users/jonbgallant/gists{/gist_id}","starred_url":"https://api.github.com/users/jonbgallant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonbgallant/subscriptions","organizations_url":"https://api.github.com/users/jonbgallant/orgs","repos_url":"https://api.github.com/users/jonbgallant/repos","events_url":"https://api.github.com/users/jonbgallant/events{/privacy}","received_events_url":"https://api.github.com/users/jonbgallant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-08T18:07:25Z","updated_at":"2018-03-15T15:28:35Z","closed_at":null,"author_association":"NONE","body":"I have two options: option1 and option2\r\n\r\nIf user sets option1 to \"A\", then I want option2 to be automatically set to \"B\" and not prompt the user for option2.\r\n\r\nHow can I do that?\r\n\r\nBoth options are driven off of envvar, so I thought I could set the envvar in validate_option of option1, but it looks like envvar is only evaluated at the beginning of the run.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pallets/click/issues/comments/373416728","html_url":"https://github.com/pallets/click/issues/946#issuecomment-373416728","issue_url":"https://api.github.com/repos/pallets/click/issues/946","id":373416728,"user":{"login":"jonbgallant","id":2163001,"avatar_url":"https://avatars1.githubusercontent.com/u/2163001?v=4","gravatar_id":"","url":"https://api.github.com/users/jonbgallant","html_url":"https://github.com/jonbgallant","followers_url":"https://api.github.com/users/jonbgallant/followers","following_url":"https://api.github.com/users/jonbgallant/following{/other_user}","gists_url":"https://api.github.com/users/jonbgallant/gists{/gist_id}","starred_url":"https://api.github.com/users/jonbgallant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonbgallant/subscriptions","organizations_url":"https://api.github.com/users/jonbgallant/orgs","repos_url":"https://api.github.com/users/jonbgallant/repos","events_url":"https://api.github.com/users/jonbgallant/events{/privacy}","received_events_url":"https://api.github.com/users/jonbgallant/received_events","type":"User","site_admin":false},"created_at":"2018-03-15T15:28:35Z","updated_at":"2018-03-15T15:28:35Z","author_association":"NONE","body":"Thanks @tomgoren - They are two discrete options, so I would like to provide help for both..but I really appreciate your response."}}
{"actor":{"display_login":"jonbgallant"}}