We have a JIRA project that has several components, each with their own Bitbucket repositories. Is it possible to configure the Bitbucket+JIRA integration in such a way where clicking on "Create branch" in a JIRA issue will default to creating a branch in the Bitbucket repo based on the component?
Right now, it defaults to either the last repository selected or the first repository in alphabetical order.
The short answer is no, that is not possible. There is a request to be able to link a Jira project to repositories, JRASERVER-38738, and I would suggest you go a vote on it if that is something you would like to see.
it's possible actually just linked and specific component in a bitbucket repository with out show others issues in other components??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was facing a similar requirement and came up with a rather cheap workaround using Jira automation:
I created a manually triggered automation rule (create-branch-for-component) which creates a new branch in a bitbucket/repository. The repository name (we had over a 100 repos to choose from) is derived from the (currently selected) component of the issue.
Since in our case it was also a requirement that more than one branch might need to be be created per issue/component/repository, the main challenge was to find a logic for generating unique, descriptive branch names with Jira wildcards (or more like: finding the relevant documentation in the chaos that is called Atlassian website).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.