Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-1181

As an administrator I would like to hide the error message when removing issue deletion rights for agents

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • None
    • None
    • We collect Jira Service Desk feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

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

      The configuration should allow for the removal of issue deletion rights from the permission scheme without showing a message to the system users:

      "This service desk project may not work as expected.
      View details and repair the problem"

      In most cases we do not want agents to have the ability to delete issues as a disgruntled employee (there is a lot of turnover in service desks, for a reason - it can be a tough job) could in essence wipe off an entire service desk's history.

          Form Name

            [JSDSERVER-1181] As an administrator I would like to hide the error message when removing issue deletion rights for agents

            Thank you, it works like a charm!

            Nicolas Esteves added a comment - Thank you, it works like a charm!
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3010401 ] New: JAC Suggestion Workflow 3 [ 3651014 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]

            With this code, you can disable the message globally. It also hides the Accouncement Banner.

            <script>
            window.setInterval(function (){
              AJS.$(".js-repair").closest('#aui-flag-container').hide();
            }, 100);
            </script>
            <style>
            .alertHeader{display:none;}
            </style> 

            Martin Boehme added a comment - With this code, you can disable the message globally. It also hides the Accouncement Banner. <script> window.setInterval(function (){ AJS.$( ".js-repair" ).closest( '#aui-flag-container' ).hide(); }, 100); </script> <style> .alertHeader{display:none;} </style>

            Fortunately, it was a Test Instance

            Martin Boehme added a comment - Fortunately, it was a Test Instance

            As always (especially with a suggestion from 2017) you should always test it on a Test Instance.

            Wouldn't surprise me if this was written for Jira 6.4 !

            Jack [AppFox] added a comment - As always (especially with a suggestion from 2017) you should always test it on a Test Instance. Wouldn't surprise me if this was written for Jira 6.4  !

            WARNING

            Do not try the script above from Jack inside of the Announcement Banner. It just broke my whole Jira and I had to empty the Announcement Banner via SQL...

            Martin Boehme added a comment - WARNING Do not try the script above from Jack inside of the Announcement Banner. It just broke my whole Jira and I had to empty the Announcement Banner via SQL...
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2665929 ] New: JAC Suggestion Workflow [ 3010401 ]
            Owen made changes -
            Workflow Original: JSD Suggestion Workflow - TEMP [ 2321597 ] New: Confluence Workflow - Public Facing v4 [ 2665929 ]
            Status Original: Closed [ 6 ] New: Resolved [ 5 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Suggestion Workflow [ 2052677 ] New: JSD Suggestion Workflow - TEMP [ 2321597 ]

            Jack [AppFox] added a comment - - edited

            We've had this problem - with other Project Admin's messing up the Custom Configuration.

            At the very least, you can hide the link to 'fix' the Project configuration, with some JavaScript:

            if(window.location.href.indexOf("<PROJECT_KEY_HERE>") > -1) {
              window.setInterval(function (){AJS.$(".js-repair").hide();},100);
            }
            

            This will prevent people from replacing the current configuration.

            Place the code above in your Announcement Banner and replace <PROJECT_KEY_HERE> with your Project's key.

            *The above is not a permanent solution, but is a workaround.

            Jack [AppFox] added a comment - - edited We've had this problem - with other Project Admin's messing up the Custom Configuration. At the very least, you can hide the link to 'fix' the Project configuration, with some JavaScript: if (window.location.href.indexOf( "<PROJECT_KEY_HERE>" ) > -1) { window.setInterval(function (){AJS.$( ".js-repair" ).hide();},100); } This will prevent people from replacing the current configuration. Place the code above in your Announcement Banner and replace <PROJECT_KEY_HERE> with your Project's key. *The above is not a permanent solution, but is a workaround.

              Unassigned Unassigned
              d842f436c703 Etienne Paquin
              Votes:
              12 Vote for this issue
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: