Uploaded image for project: 'Jira Software Cloud'
  1. Jira Software Cloud
  2. JSWCLOUD-14788

Version "Build and Release" errors when Bamboo plan has Build but not View permissions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Low
    • None

    Description

      Problem:
      When releasing a Version via JIRA's Build and Release functionality, if a Bamboo plan exists that the user has "Build" permissions to, but not "View" permissions, JIRA throws an error on the screen and won't let the user continue to Release the Version.
      See a release with a plan that has both Build and View permissions:
      And an attempted release where a plan exists that does not have View permissions:

      Steps to Reproduce:

      1. Create a Bamboo plan that a given user has View and Build permissions
      2. Create a JIRA version
      3. Attempt to release that version via JIRA's Build and Release
      4. A popup should appear allowing you to pick available plans to release from. This is working as intended
      5. Remove "View" permission from the Bamboo plan for the user
      6. Attempt to release the Version again. JIRA will now show the error message in the attached image.

      Expected Result:

      • Bamboo plan isn't listed in dropdown if View permission is not set.

      Actual Result:

      • Error message appears preventing the release from happening

      Theory:
      JIRA is getting a list of plans from Bamboo where $USER has Build permission. It then tries to get the name of the plan from Bamboo for each returned plan. This fails since $USER doesn't have View permission.

      This is happening on our setup of JIRA 6.3.4 and Bamboo 5.6.0

      Attachments

        1. jirareleasebad.png
          jirareleasebad.png
          7 kB
        2. jirareleasegood.png
          jirareleasegood.png
          15 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              49612c5cfac6 Robert Nelson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: