Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Approaches for adding JIRA support #23

Open
kbenzie opened this issue Jan 10, 2018 · 1 comment
Open

Approaches for adding JIRA support #23

kbenzie opened this issue Jan 10, 2018 · 1 comment
Assignees
Milestone

Comments

@kbenzie
Copy link
Owner

kbenzie commented Jan 10, 2018

JIRA handles issue states quite differently, so far all backend support open
and closed states but JIRA can have many different states and possible
different parameters when transitioning between states which may or may not be
required.

One solution could be to add a new command:

$ git issue transition <state>

The transition command, when invoked, would prompt the user to input any
required parameters as defined by the JIRA transition screen associated with the
<state>. This has the downside of loosing out on command line completions for
the parameters.

A second approach could be to shoehorn the state transitions into the git issue {edit,close,reopen} commands. States which can be transitioned to but could be
augmented using choices given to the user with pick as is already done
to disambiguate user searches. This has the downside of not being a one-to-one
match of transitions available for an issue and possibly counter-intuitive
command names.

Third approach would be to assess GitHub projects and GitLab
boards
for any commonalities between the services which might be
more instructive when implementing JIRA support.

@kbenzie kbenzie added this to the JIRA Support milestone Jan 10, 2018
@kbenzie kbenzie self-assigned this Jan 10, 2018
@kbenzie
Copy link
Owner Author

kbenzie commented Jan 11, 2018

GitHub projects have boards with columns and cards, not unlike JIRA boards and
issues. The nomenclature used there is move instead of transition, this
could be a good name for a possible command.

$ git issue move <column>

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

No branches or pull requests

1 participant