Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-547

Customers to be directed to only Customer Portal without the ability to navigate back to JIRA


    • 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.

      NOTE: This suggestion is for JIRA Service Desk Cloud. Using JIRA Service Desk Server? See the corresponding suggestion.

      As per https://jira.atlassian.com/browse/JSD-62 feature, the Customers now are able to go directly to Customer Portal on login. However, they are still given the ability to navigate back to JIRA, even though they cannot do anything. But it will be much more elegant if the customers were only directed to Customer Portal without the ability to navigate back.

      Currently, the workaround for this is as per this comment, whereby you have to include the following script in Announcement Banner of the instance, which will direct the users back to Customer Portal anytime they try to navigate to JIRA:

      <script type='text/javascript'>
      function pageFormatNotLoggedInOrNoProjectAccess()
          //All Pages
          AJS.$("#home_link").parent().hide(); //Hide Dashboards Menu
          AJS.$("#quicksearch").hide(); //Hide Search Box
          AJS.$("#system-help-menu").hide(); //Hide Help Menu
          //Agile Menu
          if (AJS.$("#greenhopper_menu").length) {
              AJS.$("#greenhopper_menu").parent().hide(); //Hide Agile menu
          if (AJS.$("#greenhopper_menu_no_project").length) {
              AJS.$("#greenhopper_menu_no_project").parent().hide(); //Hide Agile menu
      function pageFormatNoProjectAccess()
          //All Pages
          AJS.$("#view_profile").parent().parent().parent().hide(); //Hide Profile Menu Item
          AJS.$("#set_my_jira_home").parent().hide(); //Hide Profile Jira Home Menu
          AJS.$("#upm-requests-link").parent().hide(); //Hide Profile Marketplace Link
          if (window.location.href.indexOf("/secure/Dashboard.jspa") != -1 || window.location.href.indexOf("/secure/MyJiraHome.jspa") != -1) {
              AJS.$("#dashboard").hide(); //Hide Entire Dashboard Screen
      AJS.$(document).ready(function() {
          //All Pages
          AJS.$("#announcement-banner").css("padding", "0px"); //Remove Padding From Announcement Banner
          //Check Login & Service Desk Only User Status
          if (AJS.$("#header-details-user-fullname").length == 0) {
              //Format Page
              //Redirect To Login Page
              if (window.location.href.indexOf("/secure/Dashboard.jspa") != -1) {
                  window.location = "/login.jsp";
          } else {
              if (AJS.$("#browse_link").length == 0) {
                  //Format Page
                  //Redirect To Service Desk
                  if (window.location.href.indexOf("/servicedesk/customer/<your service desk project key>") == -1) {
                      window.location = "/servicedesk/customer/<your service desk project key>";

      Note: this workaround isn't available for the OnDemand platform.

            mfinch Marian Finch (Inactive)
            aalshargabi AlaA
            19 Vote for this issue
            13 Start watching this issue