I know the question might seem like it is asking the same thing, but bear with me. There seems to be different ways to link the two together as the process is different, and the end result differs.
Is there a difference between the two? Are there any functional differences if I do it either way?
JIRA Software (Server) 7.0
Bitbucket Cloud (1 Team, 2 Repos)
Linking from JIRA to Bitbucket:
Login JIRA Administration -> Applications -> DVCS accounts
Link Bitbucket Cloud or Github Account
Enter Team Account ID
Enter OAuth Key and Secret
(Generate in Bitbucket Team -> Manage Team -> OAuth -> Add consumer)
The Result is as follows:
Both Repositories are Synced
In Bitbucket Team:
OAuth is added as a consumer
In Bitbucket for both Individual Repos:
(Settings -> Services) There are 2 services added, "POST" and "Pull Request POST" to the JIRA URL
(Settings -> Webhooks) Nothing
(Settings -> Links) Nothing
I would have thought that a Link would have been created back to JIRA here, but that was not the case.
Linking from Bitbucket to JIRA:
Login Bitbucket Cloud -> Team -> Project -> Settings -> Links
Add new link to JIRA, Enter JIRA URL and Project Key
Do the same for the 2nd Repo in the team
Nothing is changed in the JIRA, it doesn't show the link in JIRA or anywhere else.
I also have to manually link both repos to JIRA, (where as if I link it from JIRA to Bitbucket, it automatically links all the repos within the team).
It seems like the best way to link JIRA and BB is to do it from JIRA itself ? Any smart commits would be handled automatically to their respective JIRA project, etc ?
Are there any functional differences to linking them one way or the other? What are the advantages of linking them one way over the other? What would be the best practice in linking them together?
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG