Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-14145

100 build commits limitation cause missing JIRA issues linked to build and limited commits shown when creating release

    • 2
    • 10
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Summary

      1. Missing JIRA issues linked to build
      2. Limited commits when creating releases

      Steps to Reproduce

      1. Create 110 commits with each commit have commit message related to JIRA issue "TST-1" until "TST-110"
      2. Run the plan for these 110 commits in a single build
      3. Create new release for this build

      Expected Results

      1. JIRA issue "TST-1" until "TST-110" listed in the Build's Issue tab
      2. When creating new release, it will show 110 commits and 110 JIRA issues compared to the previous release in the Release details (Information on the right side of the following screen)
      3. After release created, the Release Commit tab showing the number 110

      Actual Results

      Due to the 100 commits limitation in the build:

      1. Only JIRA issue "TST-1" until "TST-100" (100 issues) listed in the Build's Issue tab
      2. Only 100 commits and 100 JIRA issues shown in the Release details
      3. The number 100 shown in the Release Commit tab

      Notes

      Even though the number 100 shown in the Release Commit tab, the Commit tab still have a message "Showing 100 of 110 code changes"

        1. 1.JPG
          163 kB
          Petr Nový
        2. 2.JPG
          111 kB
          Petr Nový
        3. create_release.png
          34 kB
          Foong

            [BAM-14145] 100 build commits limitation cause missing JIRA issues linked to build and limited commits shown when creating release

            Wren White added a comment -

            Another +1 for this. We've only run into this once so far, but it created major disruptions and false alarms between numerous teams.

            It sounds like this limit was originally put in place to prevent OOM issues; if that's still the case, making this a configurable option might be a good solution, at least for self-hosted instances.

            Then perhaps have a fallback to the original value on next boot if OOM was encountered as a safety measure.

            Wren White added a comment - Another +1 for this. We've only run into this once so far, but it created major disruptions and false alarms between numerous teams. It sounds like this limit was originally put in place to prevent OOM issues; if that's still the case, making this a configurable option might be a good solution, at least for self-hosted instances. Then perhaps have a fallback to the original value on next boot if OOM was encountered as a safety measure.

            +1 on this issue. I don't understand why this is a feature request. Changes aren't tracked in the build logs and apis. Any way you cut it, this looks like a bug.

            Thomas Wood added a comment - +1 on this issue. I don't understand why this is a feature request. Changes aren't tracked in the build logs and apis. Any way you cut it, this looks like a bug.

            +1 on this issue if possible please! While it's always desirable to deploy little and often, circumstances mean that it's not always possible to do this. 

            Shrey Puranik added a comment - +1 on this issue if possible please! While it's always desirable to deploy little and often, circumstances mean that it's not always possible to do this. 

            newhopek added a comment - - edited

             
            Please fix it quickly!!!

             

            My site show me "Showing 100 of 336 code changes", we need to check the history of all 336 code changed.

            newhopek added a comment - - edited   Please fix it quickly!!!   My site show me "Showing 100 of 336 code changes", we need to check the history of all 336 code changed.

            Mathias Paech added a comment - - edited

            @yprakesh I wrote a small script to parse ticket numbers from the commits to bypass this limitiation as alternative.
            You will find it on github:  https://github.com/echorebel/generate-changelog

            This also creates versions and sets fix version in the ticket and compiling it all down to a changelog file too. You can take it and/or modify to your needs of course.

            Mathias Paech added a comment - - edited @yprakesh I wrote a small script to parse ticket numbers from the commits to bypass this limitiation as alternative. You will find it on github:   https://github.com/echorebel/generate-changelog This also creates versions and sets fix version in the ticket and compiling it all down to a changelog file too. You can take it and/or modify to your needs of course.

            yprakesh added a comment - - edited

            Quite disappointing & annoying given that REST also doesn't provide any related data.  This is such an important feature but getting ignored for almost 7 years. @Bamboo team has any plans on this? Also anyone found any alternatives?

            yprakesh added a comment - - edited Quite disappointing & annoying given that REST also doesn't provide any related data.  This is such an important feature but getting ignored for almost 7 years. @Bamboo team has any plans on this? Also anyone found any alternatives?

            zpotoloom added a comment -

            Just discovered after searching why commits not deployed according to jira. Should ba a configurable parameter.

            zpotoloom added a comment - Just discovered after searching why commits not deployed according to jira. Should ba a configurable parameter.

            Just adding a comment to express my desire that this limitation be addressed

            Jamie Brost added a comment - Just adding a comment to express my desire that this limitation be addressed

            Please change this limitation to configurable setting.

            Add the max number to a config file, or provide at least some way to override it when writing plugins. For Svn repos, this is impossible without a custom implementation of AbstractSvnExecutor, At least for Git repos it gets that number from a config file (but have not tried if that works). 

            My use case is that I need to collect all commits linked to a Jira release (i.e. certain Jira issues). With a lot of commit activity, we quickly have 100 commits in a matter of days. And sometimes we want to use this for older releases. Definitely need to go back more than 100 commits, in my case, I need to go back to the first commit to make sure I scanned all comments.

            Pieter Wouter Hartog added a comment - Please change this limitation to configurable setting. Add the max number to a config file, or provide at least some way to override it when writing plugins. For Svn repos, this is impossible without a custom implementation of AbstractSvnExecutor, At least for Git repos it gets that number from a config file (but have not tried if that works).  My use case is that I need to collect all commits linked to a Jira release (i.e. certain Jira issues). With a lot of commit activity, we quickly have 100 commits in a matter of days. And sometimes we want to use this for older releases. Definitely need to go back more than 100 commits, in my case, I need to go back to the first commit to make sure I scanned all comments.

            Couldn't believe my eyes and took me some time to find this issue.

            We do git flow and production releases from master too like @jamie. We run with two (and growing) teams on one code base.

            I agree there should be not so many changes per release but Bamboo should not just have a hard cap on changes and just hide the changes from everyone. Think about generated changelogs and automatically fix versions set in the Jira tickets.

            I would suggest moving this to a bug too!

            Mathias Paech added a comment - Couldn't believe my eyes and took me some time to find this issue. We do git flow and production releases from master too like @jamie. We run with two (and growing) teams on one code base. I agree there should be not so many changes per release but Bamboo should not just have a hard cap on changes and just hide the changes from everyone. Think about generated changelogs and automatically fix versions set in the Jira tickets. I would suggest moving this to a bug too!

              Unassigned Unassigned
              romar Abdulrazaq Mohammed Ali Omar (Inactive)
              Votes:
              69 Vote for this issue
              Watchers:
              57 Start watching this issue

                Created:
                Updated: