{"action":"opened","issue":{"url":"https://api.github.com/repos/stephencelis/ghi/issues/311","repository_url":"https://api.github.com/repos/stephencelis/ghi","labels_url":"https://api.github.com/repos/stephencelis/ghi/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/stephencelis/ghi/issues/311/comments","events_url":"https://api.github.com/repos/stephencelis/ghi/issues/311/events","html_url":"https://github.com/stephencelis/ghi/issues/311","id":157465971,"number":311,"title":"Support associating an issue with a milestone based on the milestone name","user":{"login":"cbeams","id":301810,"avatar_url":"https://avatars.githubusercontent.com/u/301810?v=3","gravatar_id":"","url":"https://api.github.com/users/cbeams","html_url":"https://github.com/cbeams","followers_url":"https://api.github.com/users/cbeams/followers","following_url":"https://api.github.com/users/cbeams/following{/other_user}","gists_url":"https://api.github.com/users/cbeams/gists{/gist_id}","starred_url":"https://api.github.com/users/cbeams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbeams/subscriptions","organizations_url":"https://api.github.com/users/cbeams/orgs","repos_url":"https://api.github.com/users/cbeams/repos","events_url":"https://api.github.com/users/cbeams/events{/privacy}","received_events_url":"https://api.github.com/users/cbeams/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-30T09:31:35Z","updated_at":"2016-05-30T09:31:35Z","closed_at":null,"body":"Currently, associating an issue with a milestone happens based on the milestone's _number_:\r\n\r\n```\r\n$ ghi open --help\r\n    -M, --milestone <n>              associate with milestone\r\n```\r\n\r\nThis is inconvenient as it usually requires the user to find the milestone number first, and while possible, it is not obvious how to do this via the GitHub interface. It is of course also possible to look up the number via `ghi milestone`, but this too may not be obvious to many users.\r\n\r\nBetter would be to support associating an issue with a milestone based on the milestone's _name_, which the user usually already has in mind, and is in any case easy to remember.\r\n\r\n#62 already proposed this same improvement, but was closed as the OP never suggested but never actually submitted a pull request. I'm opening a new issue here to see whether the `ghi` team would be willing to implement this support on their own.\r\n"}}
{"actor":{"display_login":"cbeams"}}