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.

            [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!

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

            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.

            Hi,

            Can you please provide a link to the release notes or to the solution for this ?

            Thanks in advance.

            regards

            Ivaylo Enchev added a comment - Hi, Can you please provide a link to the release notes or to the solution for this ? Thanks in advance. regards

            Hi

            This issue has been fixed by JSD-1969, and will be available in an upcoming release of JSD.

            Please watch that ticket for updates.

            Regards
            Matt
            JIRA Service Desk developer

            Matthew McMahon (Inactive) added a comment - Hi This issue has been fixed by JSD-1969 , and will be available in an upcoming release of JSD. Please watch that ticket for updates. Regards Matt JIRA Service Desk developer

            Is there a workaround to hide this message in the meantime? This is extremely annoying message...

            Petr Divina added a comment - Is there a workaround to hide this message in the meantime? This is extremely annoying message...

            April added a comment -

            Definitely, we will not grant delete rights except to Jira Admins or Project Admins. Please allow us to hide this messgae

            April added a comment - Definitely, we will not grant delete rights except to Jira Admins or Project Admins. Please allow us to hide this messgae

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

                Created:
                Updated:
                Resolved: