-
Notifications
You must be signed in to change notification settings - Fork 11
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
Choosing branch name/location #36
Comments
👋 @jamesgraham thanks for your suggestions. I have been tracking this in #20 (comment) but don't have short-term plans on implementing support for this:
|
This is a bit trickier to offer because 1) every jira uses different identifiers for issue type and the text value isn't passed to the app and 2) this branch pattern would not be easy to look up in jira. Could you manually enter the issue type where it would be |
We would like the location to be type - e.g. Could a mapping be added in branch_pattern: 1
map_issue:
Bug: bugfix
Task: feature
Story: feature |
@kbakk that is an interesting idea. The main issue is that it isn't easy to get the issue type - say Bug. If you could provide the issue type id rather than Bug, Task, and Story, I could likely build a mapping to support this. Do you know how to lookup that mapping for your instance? Every Jira will likely be different. |
Sorry for the late response. In the API it's at ID->branch may not be as clear as with names, but for us this should work well. |
@kbakk I'm back to this now. This plugin was designed with minimal permissions so cannot access the JIRA API. It's event-driven and atlassian is passing data via URL params. In this case, they pass a tenant-specific integer, Would users want to create all branches off a single location (static for the project), flexibility per JIRA ticket (i.e. a ticket would represent a 1:1 mapping for fixing in dev or hotfix or main), or would a single JIRA ticket have multiple branches on different locations. |
Great plugin!
It would be nice if we could choose to create the branch with:
ABC-123-slugged-issue-title
feature/ABC-123
and bug inhotfix/ABC-123
to support gitflowThe text was updated successfully, but these errors were encountered: