Hi @Cosmin Lehene,
I'm pretty sure the only way that Jira is intelligent enough to know the branch is if the name of the branch contains the Jira issue key (e.g. JIRA-123).
Now, and issue you will run into historically (which we have also encountered and decided to just live with it) depends on how you manage your git branches. We will typically delete branches when code is merged from the feature branch to the 'develop' branch. While we using the Jira issue key for feature branch names and branches are displayed while the project is active, branches will "disappear" the moment code is merged because we are deleting the git branches to keep the repositories clean.
I hope that helps answer your question.
When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events