I created a build plan and configured and enable automatic branch detection and automatic creation for remote links for JIRA issues to plan branch as following screen shot.
So I created Jira issue and then create branch by clicking "create branch " button on the right side menu.
Then it redirect to branch creation bitbucket page and I created branch with the name which contains Jira issue key.
After few moment, Bamboo successfully create plan branch and run build plan for newly created branch as I expected.
However, it does not automatically create remote link from Jira issue to plan branches but only create a link in bamboo with manual creation button as following screen shot.
So I searched if other people has similar issue and find out it was bug on previous version of bamboo and reported as resolved.
But I'm currently having similar issue and not sure how to resolve that.
Below is the current version information for applications we are using.
Please let me know if there is a way to resolve it.
Here is the logs for JiraBranchLinkingServiceImpl
The last log says Authentication is required, but I already linked bamboo with Jira via OAuth for both incoming and outgoing connections.
2017-09-27 13:10:05,576 DEBUG [11-BranchJiraLinkingBackgroundThread:pool-18-thread-63] [JiraBranchLinkingServiceImpl] Detecting linked JIRA issues for branch 'BAM-PRTP13'
2017-09-27 13:10:05,587 DEBUG [11-BranchJiraLinkingBackgroundThread:pool-18-thread-63] [JiraBranchLinkingServiceImpl] Checking branch name 'CI-29-bamboo-test-issue-3' for issue keys
2017-09-27 13:10:05,589 DEBUG [11-BranchJiraLinkingBackgroundThread:pool-18-thread-63] [JiraBranchLinkingServiceImpl] Found issue key 'CI-29'
2017-09-27 13:10:05,589 DEBUG [11-BranchJiraLinkingBackgroundThread:pool-18-thread-63] [JiraBranchLinkingServiceImpl] Creating remote link from issue 'CI-29' to branch 'BambooTest - pull request test plan - CI-29-bamboo-test-issue-3'
2017-09-27 13:10:05,599 WARN [11-BranchJiraLinkingBackgroundThread:pool-18-thread-63] [JiraBranchLinkingServiceImpl] Could not link branch 'CI-29' to branch 'BambooTest - pull request test plan - CI-29-bamboo-test-issue-3'. Authentication required.
Also when I first attempt to automatic branch creation and check to see if it is creating Jira issue link correctly, Bamboo asked for authentication from Jira side with currently logon Jira user.
So authenticate and allow read and write access as Jira admin user for Bamboo application.
I'm not sure if there is anything that i missed?
I have this exact same problem. We are using Jira Cloud connected to internal Bamboo and Bitbucket Servers. All other application-link related functionality works.
Bamboo version 6.2.1 build 60208 - 27 Sep 1
I found the Jira issue for this. It appears to be Resovled. However, I can confirm this problem still exists.
@Alexey Chystoprudov, any update on this issue? encountered the same issue.
@Alexey Chystoprudov, the issue seems only occurs when the plan branch is created automatically by pull request event; when I manually create plan branch that associates with the Stash branch, it would automatically generate the application link in the JIRA ticket. It is exactly same as described in the above link, https://jira.atlassian.com/browse/BAM-13313
new to the Bamboo, try to create a support ticket for this, but cannot find the correct way to create ticket for Bamboo issue. Also, tried to follow documentation here, the https://confluence.atlassian.com/bamboo/raising-a-request-with-atlassian-support-625672748.html
We’re preparing for Bamboo 8.0, which will be our first Data Center release. To make sure our app vendors and customers with written in-house apps are prepared, we’re launching Bamboo 8.0 Early Acces...
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