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

Error in "Issue deployment" web panel when user does not have access to Bamboo

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 5.2
    • None
    • JIRA integration
    • None

    Description

      The REST request returns HTML then the JSON parser barfs expecting valid JSON.

      If it gets invalid JSON it should have a cleaner failure message.

      Bamboo Rest Request failed, could not parse response from BAMBOO (bitbucket.atlassian.net):A JSONObject text must begin with '{' at character 10 of <!DOCTYPE html> <html> <head> <script type="text/javascript"> if (!window.performance) { window.mpPerformance = {}; window.mpPerformance.responseStart = new Date().getTime(); } </script> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> <title>You have not been granted access to Bamboo. - Bitbucket JIRA</title> <meta name="application-name" content="JIRA" data-name="jira" data-version="6.1-OD-06"><meta name="ajs-dev-mode" content="false"> <meta name="ajs-context-path" content=""> <meta name="ajs-version-number" content="6.1-OD-06"> <meta name="ajs-build-number" content="6139"> <meta name="ajs-remote-user" content="igrunert"> <meta name="ajs-remote-user-fullname" content="Ian Grunert"> <meta name="ajs-user-locale" content="en_US"> <meta name="ajs-user-locale-group-separator" content=","> <meta name="ajs-app-title" content="Bitbucket JIRA"> <meta name="ajs-keyboard-shortcuts-enabled" content="true"> <meta name="ajs-enabled-dark-features" content="["com.atlassian.jira.jira-feedback-plugin","ka.AJAX_PREFETCH","casper.WORKFLOW_TAB","casper.VIEW_ISSUE","ka.STABLE_SEARCH","rotp.admin.shortcuts","jira.plugin.devstatus.bitbucket.create.branch","app-switcher.new","20percent.admin.nav.redesign","com.atlassian.jira.darkfeature.CommonHeader","jira.frother.reporter.field","ondemand.language.beta","com.atlassian.jira.config.PDL","com.atlassian.jira.darkfeature.BulkWatch","rotp.project.shortcuts","com.atlassian.jira.config.CoreFeatures.ON_DEMAND","frother.assignee.field"]"> <meta name="ajs-date-relativize" content="true"> <meta name="ajs-date-time" content="h:mm a"> <meta name="ajs-date-day" content="EEEE h:mm a"> <meta name="ajs-date-dmy" content="dd/MMM/yy"> <meta name="ajs-date-complete" content="dd/MMM/yy h:mm a"> <meta name="ajs-in-admin-mode" content="false"> <meta name="ajs-is-sysadmin" content="false"> <meta name="ajs-is-admin" content="false"> <meta name="ajs-outgoing-mail-enabled" content="true"> <meta name="ajs-whats-new-iframe-src-override" content=""> <meta name="ajs-whatsnew-full-link" content="https://docs.atlassian.com/jira/docs-061/whatsnew/iframe?e=aWdydW5lcnRAYXRsYXNzaWFuLmNvbQ%3D%3D&od=true&a=false&pa=false"> <meta id="atlassian-token" name="atlassian-token" content="AKVY-YUFR-9LM7-ABCD|3a209262f0f06e7a7176f702c50dad24f598e466|lin"> <link rel="shortcut icon" href="/s/en_USzgowd4-1988229788/6139/225//favicon.ico"> <link rel="search" type="application/opensearchdescription+xml" href="/osd.jsp" title="You have not been granted access to Bamboo. - Bitbucket JIRA"/> <!-[if IE]><![endif]> <script type="text/javascript">var contextPath = '';</script> <link type="text/css" rel="stylesheet" href="/s/d41d8cd98f00b204e9800998ecf8427e/en_USzgowd4-1988229788/6139/225/5//download/superbatch/css/batch.css" media="all"> <![if lte IE 8]> <link type="text/css" rel="stylesheet" href="/s/d41d8cd98f00b204e9800998ecf8427e/en_USzgowd4-1988229788/6139/225/5//download/superbatch/css/batch.css?conditionalComment=lte+IE+8" media="all"> <![endif]> <![if lte IE 9]> <link type="text/css" rel="stylesheet" href="/s/d41d8cd98f00b204e9800998ecf8427e/en_USzgowd4-1988229788/6139/225/5//download/superbatch/css/batch.css?conditionalComment=lte+IE+9" media="all"> <![endif]> <link type="text/css" rel="stylesheet" href="/s/d41d8cd98f00b204e9800998ecf8427e/en_USzgowd4-1988229788/6139/225/5bd2b8cf83e5f6c26183cd3d367fa718//download/contextbatch/css/atl.general,jira.global/batch.css" media="all"> <link type="text/css" rel="stylesheet" href="/s/d41d8cd98f00b204e9800998ecf8427e/en_USzgowd4-1988229788/6139/225/d57fa41e63a8eb00c4658102ca76a48a//download/contextbatch/css/jira.general/batch.css" media="all"> <script type="text/javascript" src="/s/d41d8cd98f00b204e9800998ecf8427e/en_USzgowd4-1988229788/6139/225/5//download/superbatch/js/batch.js" ></script> <![if lte IE 8]> <script type="text/javascript" src="/s/d41d8cd98f00b204e9800998ecf8427e/en_USzgowd4-1988229788/6139/225/5//download/superbatch/js/batch.js?conditionalComment=lte+IE+8" ></script> <![endif]-> <script type="text/javascript" src="/s/d41d8cd98f00b204e9800998ecf8427e/en_USzgowd4-1988229788/6139/225/5bd2b8cf83e5f6c26183cd3d367fa718//download/contextbatch/js/atl.general,jira.global/batch.js" ></script> <script type="text/javascript" src="/s/d41d8cd98f00b204e9800998ecf8427e/en_USzgowd4-1988229788/6139/225/d57fa41e63a8eb00c4658102ca76a48a//download/contextbatch/js/jira.general/batch.js" ></script> <script type="text/javascript" src="/s/d41d8cd98f00b204e9800998ecf8427e/en_USzgowd4-1988229788/6139/225/3.2.16//download/batch/com.atlassian.plugins.atlassian-nav-links-plugin:administration-shortcuts-resources/com.atlassian.plugins.atlassian-nav-links-plugin:administration-shortcuts-resources.js" ></script> <script type="text/javascript" src="/s/d41d8cd98f00b204e9800998ecf8427e/en_USzgowd4-1988229788/6139/225/1.5//download/batch/com.atlassian.administration.atlassian-admin-quicksearch-jira:admin-quicksearch-webresources/com.atlassian.administration.atlassian-admin-quicksearch-jira:admin-quicksearch-webresources.js" ></script> <script type="text/javascript" src="/s/d41d8cd98f00b204e9800998ecf8427e/en_USzgowd4-1988229788/6139/225/6.3.0.2//download/batch/com.pyxis.greenhopper.jira:gh-help-analytics/com.pyxis.greenhopper.jira:gh-help-analytics.js" ></script> <script type="text/javascript" src="/s/d41d8cd98f00b204e9800998ecf8427e/en_USzgowd4-1988229788/6139/225/2.1.0//download/batch/com.atlassian.jira.ext.calendar:browse-project-tip/com.atlassian.jira.ext.calendar:browse-project-tip.js" ></script> <script type="text/javascript" src="/rest/api/1.0/shortcuts/6139/77551627011f17523ecb85f74c5ca80c/shortcuts.js"></script> <meta name="decorator" content="message" /> </head> <body id="jira" class="aui-layout aui-theme-default page-type-message " data-version="6.1-OD-06"> <div id="page"> <header id="header" role="banner"> <dl id="bonfire-build-info" style="display:none;"> <dt data-bonfire-var="bonfire-buildVersion" data-bonfire-value="2.7.0.0"></dt> <dt data-bonfire-var="bonfire-buildDate" data-bonfire-value="2013-08-09T00:00:00.000-07:00"></dt> <dt data-bonfire-var="bonfire-buildNumber" data-bonfire-value="4e14b3ae263e"></dt> <dt data-bonfire-var="bonfire-licenseStatus" data-bonfire-value="activated"></dt> <dt data-bonfire-var="bonfire-gaStatus" data-bonfire-value="false"></dt> <dt data-bonfire-var="bonfire-gaTrackingCode" data-bonfire-value="UA-20272869-8"></dt> </dl> <fieldset class="parameters hidden dont-default-focus"> <input type="hidden" title="tzdetect.pref.tzid" value="Australia/Adelaide" /> <input type="hidden" title="tzdetect.pref.tzname" value="(GMT+09:30) Adelaide" /> <input type="hidden" title="tzdetect.pref.tzoffset" value="(GMT+09:30)" /> <input type="hidden" title="tzdetect.pref.tzdst" value="true" /> <input type="hidden" title="tzdetect.pref.nothanks" value="Australia/Sydney" /> </fieldset> <nav class="aui-header aui-dropdown2-trigger-group" role="navigation"><div class="aui-header-inner"><div class="aui-header-before"><a class="aui-dropdown2-trigger app-switcher-trigger" aria-owns="app-switcher" aria-haspopup="true" tabindex="0"><span class="aui-icon aui-icon-small aui-iconfont-appswitcher">Linked Applications</span></a><div id="app-switcher" class="aui-dropdown2 aui-style-default"><div class="app-switcher-loading">Loading…</div></div><script> (function (NL) { var initialise = function () { // For some milestones of AUI, the atlassian soy namespace was renamed to aui. Handle that here by ensuring that window.atlassian is defined. window.atlassian = window.atlassian || window.aui; new NL.AppSwitcher(

      Unknown macro: { dropdownContents}

      ); }; if (NL.AppSwitcher)

      Unknown macro: { initialise(); }

      else

      Unknown macro: { NL.onInit = initialise; }

      }(window.NL = (window.NL || {}))); window.NL.isUserAdmin = false</script></div><div class="aui-header-primary"><h1 id="logo" class="aui-header-logo aui-header-logo-custom"><a href="https://bitbucket.atlassian.net/secure/MyJiraHome.jspa"><img src="/s/en_USzgowd4-1988229788/6139/225/_/images/icon-jira-logo.png" alt="Bitbucket JIRA" /></a></h1><ul class='aui-nav'> <li> <a class="aui-nav-link aui-dropdown2-ajax jira-ajax-menu aui-dropdown2-trigger " href="/secure/Dashboard.jspa" id="home_link" accessKey="d" title="View and manage your dashboards" aria-haspopup="true" aria-owns="home_link-content" >Dashboards</a> <div id="home_link-content" class="aui-dropdown2 aui-style-default" data-aui-dropdown2-ajax-key="home_link"></div> </li> <li> <a class="aui-nav-link aui-dropdown2-ajax jira-ajax-menu aui-dropdown2-trigger " href="/browse/BB" id="browse_link" accessKey="p" title="View recent projects and browse a list of projects" aria-haspopup="true" aria-owns="browse_link-content" >Projects</a> <div id="browse_link-content" class="aui-dropdown2 aui-style-default" data-aui-dropdown2-ajax-key="browse_link"></div> </li> <li> <a class="aui-nav-link aui-dropdown2-ajax jira-ajax-menu aui-dropdown2-trigger " href="/secure/IssueNavigator.jspa" id="find_link" accessKey="i" title="Search for issues and view recent issues" aria-haspopup="true" aria-owns="find_link-content" >Issues</a> <div id="find_link-content" class="aui-dropdown2 aui-style-default" data-aui-dropdown2-ajax-key="find_link"></div> </li> <li> <a class="aui-nav-link aui-dropdown2-ajax jira-ajax-menu aui-dropdown2-trigger " href="/secure/GreenHopper.jspa" id="greenhopper_menu" title="Manage your project with JIRA Agile" aria-haspopup="true" aria-owns="greenhopper_menu-content" >Agile</a> <div id="greenhopper_menu-content" class="aui-dropdown2 aui-style-default" data-aui-dropdown2-ajax-key="greenhopper_menu"></div> </li> <li> <a class="aui-nav-link aui-dropdown2-trigger " href="/secure/SessionNavigator.jspa" id="bonfire_top_menu_dropdown" title="Capture" aria-haspopup="true" aria-owns="bonfire_top_menu_dropdown-content" >Capture</a> <div id="bonfire_top_menu_dropdown-content" class="aui-dropdown2 aui-style-default"> <div class="aui-dropdown2-section"> <ul id="bonfire_top_main_menu.1" class="aui-list-truncate "> <li> <a id="bonfire_gettingstarted_link" class=" " title="View Test Sessions" href="/secure/SessionNavigator.jspa"> Browse Test Sessions </a> </li> </ul> </div> <div class="aui-dropdown2-section"> <ul id="bonfire_top_main_menu.2" class="aui-list-truncate "> <li> <a id="bonfire_gettingstarted_link" class=" " title="Getting Started With JIRA Capture" href="/secure/BonfireGettingStarted.jspa"> Getting Started </a> </li> <li> <a id="bonfire_get_extension_link" class=" " title="Get the Capture browser extension" href="/secure/GetBonfire.jspa"> Get browser extension </a> </li> </ul> </div> </div> </li> <li id="create-menu"> <a id="create_link" class="aui-button aui-button-primary aui-style create-issue " title="Create a new issue / bug / feature request / etc" href="/secure/CreateIssue!default.jspa" accesskey="c">Create issue</a> </li> </ul></div><div class="aui-header-secondary"><ul class='aui-nav'><li> <form action="/secure/QuickSearch.jspa" method="post" id="quicksearch" class="aui-quicksearch dont-default-focus ajs-dirty-warning-exempt"> <input id="quickSearchInput" class="search" type="text" title="Quick Search" placeholder="Quick Search" name="searchString" accessKey="q" /> <input type="submit" class="hidden" value="Search"> </form> </li> <li id="system-help-menu"> <a class="aui-nav-link aui-dropdown2-trigger" aria-haspopup="true" aria-owns="system-help-menu-content" href="https://confluence.atlassian.com/display/AOD/Getting+help+and+support" target="_blank" title="Help"><span class="aui-icon aui-icon-small aui-iconfont-help">Help</span></a> <div id="system-help-menu-content" class="aui-dropdown2 aui-style-default"> <div class="aui-dropdown2-section"> <ul id="jira-help" class="aui-list-truncate"> <li> <a id="view_help" class="" title="Goto the online documentation for JIRA" href="https://confluence.atlassian.com/display/AOD/Getting+help+and+support" target="_blank" >Online Help</a> </li> <li> <a id="gh_view_help" class="" title="Get help online for JIRA Agile" href="http://docs.atlassian.com/agile/docs-0630/JIRA+Agile+Documentation" target="_blank" >JIRA Agile Help</a> </li> <li> <a id="gh_view_agile_answers" class="" title="Get answers about Agile" href="http://answers.atlassian.com/tags/agile/" target="_blank" >Agile Answers</a> </li> <li> <a id="keyshortscuthelp" class="" title="Get more information about JIRA's Keyboard Shortcuts" href="/secure/ViewKeyboardShortcuts!default.jspa" target="_blank" >Keyboard Shortcuts</a> </li> <li> <a id="view_about" class="" title="Get more information about JIRA" href="/secure/AboutPage.jspa" >About JIRA</a> </li> <li> <a id="view_credits" class="" title="See who did what" href="/secure/JiraCreditsPage!default.jspa" target="_blank" >JIRA Credits</a> </li> <li> <a id="whats-new-menu-link" class="" href="https://docs.atlassian.com/jira/docs-061/whatsnew/iframe" >What’s New</a> </li> </ul> </div> </div> </li> <li id="user-options"> <a id="header-details-user-fullname" class="aui-dropdown2-trigger" aria-haspopup="true" aria-owns="user-options-content" data-username="igrunert" data-displayname="Ian Grunert" href="/secure/ViewProfile.jspa" title="Ian Grunert"> <span class="aui-avatar aui-avatar-small"> <span class="aui-avatar-inner"> <img src="https://secure.gravatar.com/avatar/026f3da49707827c7edc4b5c3fab8b53?d=mm&s=24" alt="Ian Grunert"/> </span> </span> </a> <div id="user-options-content" class="aui-dropdown2 aui-style-default"> <div class="aui-dropdown2-section"> <ul id="personal" class="aui-list-truncate"> <li> <a id="view_profile" class="" title="View and change your details and preferences" href="/secure/ViewProfile.jspa">Profile</a> </li> </ul> </div> <div class="aui-dropdown2-section"> <strong>My JIRA Home</strong> <ul id="set_my_jira_home" class="aui-list-truncate"> <li> <a id="set_my_jira_home_default" class="aui-dropdown2-radio interactive " title="Set my JIRA Home to the Dashboard." href="/secure/UpdateMyJiraHome.jspa?target=com.atlassian.jira.jira-my-home-plugin%3Aset_my_jira_home_dashboard&atl_token=AKVY-YUFR-9LM7-ABCD|3a209262f0f06e7a7176f702c50dad24f598e466|lin">Dashboard</a> </li> <li> <a id="greenhopper-my-jira-home-set" class="aui-dropdown2-radio interactive checked " title="Set my JIRA Home to Agile." href="/secure/UpdateMyJiraHome.jspa?target=com.pyxis.greenhopper.jira%3Agreenhopper-my-jira-home-set-51&atl_token=AKVY-YUFR-9LM7-ABCD|3a209262f0f06e7a7176f702c50dad24f598e466|lin">Agile</a> </li> <li> <a id="set_my_jira_home_issuenav" class="aui-dropdown2-radio interactive " title="Set my JIRA Home to the Issue Navigator." href="/secure/UpdateMyJiraHome.jspa?target=com.atlassian.jira.jira-my-home-plugin%3Aset_my_jira_home_issue&atl_token=AKVY-YUFR-9LM7-ABCD|3a209262f0f06e7a7176f702c50dad24f598e466|lin">Issue Navigator</a> </li> </ul> </div> <div class="aui-dropdown2-section"> <ul id="system" class="aui-list-truncate"> <li> <a id="log_out" class="" title="Log out and cancel any automatic login." href="/logout?atl_token=AKVY-YUFR-9LM7-ABCD|3a209262f0f06e7a7176f702c50dad24f598e466|lin">Log Out</a> </li> </ul> </div> </div> </li> </ul></div></div><!-- .aui-header-inner-></nav><!- .aui-header -> </header> <section id="content" role="main"> <div class="aui-page-panel"><div class="aui-page-panel-inner"> <section class="aui-page-panel-content"> <div class="form-body"> <header> <h1>Access Denied</h1> </header> <div class="aui-message warning"> <span class="aui-icon icon-warning"></span> <p class="title">You have not been granted access to Bamboo.</p> <p>If you believe you should have this access, please <a href="https://bitbucket.atlassian.net/secure/ContactAdministrators!default.jspa" id="link_to_contact_admin_page">contact your administrator</a>.</p> </div> </div> </section><!- .aui-page-panel-content -> </div><!- .aui-page-panel-inner -></div><!- .aui-page-panel --> </section> <footer id="footer" role="contentinfo"> <div class="footer footer-body"> <ul> <li><a href="http://www.atlassian.com/">Powered by Atlassian</a><span id="studioVersion" class="hidden">1.8 rondemand-fireball-242</span></li> <li><a href="http://www.atlassian.com/hosted/terms.jsp">Terms of Use</a></li> <li><a href="https://answers.atlassian.com/">Answers</a></li> </ul> </div> <script type="text/javascript"> // This is the app specific data that the shared js expects studioData =

      Unknown macro: {"jiraUrl" }

      ; // Google analytics var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-6032469-30']); _gaq.push(['_setDetectTitle', false]); // don't send page titles (function ()

      Unknown macro: { var filteredUrl = document.location.pathname + document.location.search; // don't capture page titles in CONF filteredUrl = filteredUrl.replace(/(.*)/display/.*/.*/, '$1/pages/viewpage.action?pageId=' + (AJS && AJS.Meta && AJS.Meta.get('page-id') || "*")); _gaq.push(['_trackPageview', filteredUrl]); }

      )(); (function()

      Unknown macro: { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https}

      )(); </script> <form id="jira_request_timing_info" class="dont-default-focus" > <fieldset class="parameters hidden"> <input type="hidden" title="jira.request.start.millis" value="1378087631042" /> <input type="hidden" title="jira.request.server.time" value="111" /> <input type="hidden" title="jira.request.id" value="1147x415x2" /> <input type="hidden" title="jira.session.expiry.time" value="" /> <input type="hidden" title="jira.session.expiry.in.mins" value="" /> <input id="jiraConcurrentRequests" type="hidden" name="jira.request.concurrent.requests" value="2" /> </fieldset> </form> <!-- REQUEST ID : 1147x415x2 REQUEST TIMESTAMP : [01/Sep/2013:19:07:11 -0700] REQUEST TIME : 0.1110 ASESSIONID : rrezcm CONCURRENT REQUESTS : 2 db.reads : name=db.reads; inv=7; ms=13; cpu=0; rss=0; db.conns : name=db.conns; inv=7; ms=27; cpu=0; rss=0; --> <fieldset class="hidden parameters"> <input type="hidden" title="loggedInUser" value="igrunert"> <input type="hidden" title="ajaxTimeout" value="The call to the JIRA server did not complete within the timeout period. We are unsure of the result of this operation."> <input type="hidden" title="JiraVersion" value="6.1-OD-06" /> <input type="hidden" title="ajaxUnauthorised" value="You are not authorized to perform this operation. Please log in."> <input type="hidden" title="baseURL" value="https://bitbucket.atlassian.net:443"> <input type="hidden" title="ajaxCommsError" value="The JIRA server could not be contacted. This may be a temporary glitch or the server may be down."> <input type="hidden" title="ajaxServerError" value="The JIRA server was contacted but has returned an error response. We are unsure of the result of this operation."> <input type="hidden" title="ajaxErrorCloseDialog" value="Close this dialog and press refresh in your browser"> <input type="hidden" title="ajaxErrorDialogHeading" value="Communications Breakdown"> <input type="hidden" title="dirtyMessage" value="You have entered new data on this page. If you navigate away from this page without first saving your data, the changes will be lost."> <input type="hidden" title="dirtyDialogMessage" value="You have entered new data in this dialog. If you navigate away from this dialog without first saving your data, the changes will be lost. Click cancel to return to the dialog."> <input type="hidden" title="keyType" value="Type"> <input type="hidden" title="keyThen" value="then"> <input type="hidden" title="dblClickToExpand" value="Double click to expand"> <input type="hidden" title="actions" value="Actions"> <input type="hidden" title="removeItem" value="Remove"> <input type="hidden" title="workflow" value="Workflow"> <input type="hidden" title="labelNew" value="New Label"> <input type="hidden" title="issueActionsHint" value="Begin typing for available operations or press down to see all"> <input type="hidden" title="closelink" value="Close"> <input type="hidden" title="dotOperations" value="Operations"> <input type="hidden" title="dotLoading" value="Loading..."> <input type="hidden" title="frotherSuggestions" value="Suggestions"> <input type="hidden" title="frotherNomatches" value="No Matches"> <input type="hidden" title="multiselectVersionsError" value="

      Unknown macro: {0}

      is not a valid version."> <input type="hidden" title="multiselectComponentsError" value="

      is not a valid component."> <input type="hidden" title="multiselectGenericError" value="The value

      Unknown macro: {0}

      is invalid."> </fieldset> </footer> </div> </body> </html>

      Attachments

        1. jirapanel.jsp
          3 kB
        2. Selection_143.png
          Selection_143.png
          71 kB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              igrunert ig (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: