gioboa / jira-plugin

Jira plugin for VsCode
https://marketplace.visualstudio.com/items?itemName=gioboa.jira-plugin
MIT License
265 stars 41 forks source link

feat: git branch management #82

Closed knicefire closed 5 years ago

knicefire commented 5 years ago

Would be nice to have deeper integration with Git capabilities

a. Ability to see the list of branches for the ticket b. Ability to create a branch for the ticket in the ticket menu. The source branch needs to be suggested c. Suggest switching to the ticket branch in case of changing ticket/project

All of the above would give the developer more control over the ticket processing.

gioboa commented 5 years ago

In the next days I will implement the b feature.

knicefire commented 5 years ago

Cool. Looking forward to it

gioboa commented 5 years ago

Feature b

I've done the implementation. What do you think? I used VsCode git commands and unfortunately there isn't the possibility to set the branch name by code.

ezgif-5-71acef9a3208

knicefire commented 5 years ago

Looks cool!

Can you pre-fill it? So the user doesn't have to and is able to change it if needs it

gioboa commented 5 years ago

Unfortunately in the VsCode command there isn't the possibility to pre-fill it. I will check better...

gioboa commented 5 years ago

Feature a and c are really similar, I've done one command that call native git checkout. This command allow you to create a new branch or list you all available branch to checkout. No pre-fill value can be passed. 😢

UPDATE

The alternative is create a complete custom workflow for all the situation. :cry:

knicefire commented 5 years ago

No worries. Having an ability to create a new branch is already a success