Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Support associating an issue with a milestone based on the milestone name #311

Open
cbeams opened this issue May 30, 2016 · 1 comment
Open

Comments

@cbeams
Copy link

cbeams commented May 30, 2016

Currently, associating an issue with a milestone happens based on the milestone's number:

$ ghi open --help
    -M, --milestone <n>              associate with milestone

This 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.

Better 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.
#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.

@caifara
Copy link

caifara commented Jun 6, 2016

this would be even better if the milestone assigned would be the first open matching milestone (this would let one have milestones named like '2.0 [4] returning' which would be assigned with a simple:

ghi new -M "returning" -m "make IT happen"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants