-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Modifying branch in issues #3620
Comments
Definitely something I'd love to see. What's required for this? From the issue; there's a mention of needing editing support for branches |
I kinda feel its all backwards.. after all my workflow normally has the issue being created first. Then work starting sometime later.. so selecting the branch at the time of creation makes not much sense... I'm assuming originally this was to associate the issue with a release branch, not a bugfix/feature branch? |
+1 on @baradhili |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
This is also something I would like to see in a future version |
Because I use Gitea a lot, I would also like to see that feature in the future. Maybe naming the branch depending on the issue's headline. |
+1 |
2 similar comments
+1 |
+1 |
One dirty way around this issue could be to setup triggers in db. I have been testing the following for the past few days in MySQL db with satisfactory results:
Every time a new branch has been created, this will update branch name for an issue matching these criteria:
Obvious limitations (and possible expansions) are:
However, beware of #9003: if you use this method, having # in a branch name will break the link. Perhaps use a different convention that does not require escaping characters - maybe start with issue id followed by '--' |
From the forums: https://discourse.gitea.io/t/associating-existing-issue-with-a-branch/218/2?u=howl
#780 added the ability to link an issue to a certain branch. However, the branch can't be modified or removed afterwards, so that should be added.
The text was updated successfully, but these errors were encountered: