4 ms·
Not the OP, but our JIRA instance does this. From a ticket in JIRA, you can see any commits, branches or pull requests mentioning that ticket. We also use this
by gregmac 10y ago
Not the OP, but our JIRA instance does this. From a ticket in JIRA, you can see any commits, branches or pull requests mentioning that ticket.
We also use this convention with gitflow, so our branches are named eg, feature/PROJ-1234-added-new-ui or bug/PROJ-2345-fix-new-ui. This also lets JIRA find and link them, and makes pull requests get the ticket number in their title by default as well (since its based on branch name).
The last bit is just a short human-readable thing to make branches easier to look at and find, because the initial way we started using gitflow:
feature/
feature/PROJ-2286
feature/PROJ-2352
feature/PROJ-2367
feature/PROJ-2382
feature/PROJ-2385
bug/
bug/PROJ-2240
bug/PROJ-2323
bug/PROJ-2393
is completely unintelligible.