Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-45700

As an admin I want to be able to suppress re-index pop-up

XMLWordPrintable

    • 29
    • 9
    • We collect Jira 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 Server. Using JIRA Cloud? See the corresponding suggestion.

      Problem Definition

      As an admin, I am constantly doing JIRA modifications which require re-index (building new projects, adding custom fields). Notification pop-up is constantly in the way after this operations:

      There is a cron job that runs every night to reindex JIRA, so I'm not going to run re-index each time.

      Suggested Solution

      I would like to have a option to suppress pop-up for some period of time or make it disappear after short period of time (1 s).

      Workaround

      • Change CSS and hide notification pop-up by adding following CSS into Announcement Banner (Administration > System > Announcement Banner)
        Announcement Banner
        <style type="text/css">
            #aui-flag-container {
                display:none !important;
            }
        </style>
        

        Note: this modification is not supported by Atlassian. It will hide other notifications also.

      Notes

      These notification is pushed by JIRA backend itself to UI:

      require(['jquery', 'jira/flag'], function ($, flag) {
                  flag.showInfoMsg(null, "We recommend ... ", { dismissalKey: "com.atlassian.jira.reindex.required" });
      

      UI analyses com.atlassian.jira.reindex.required key and hide notification pop-up if key is present.
      This key could be pushed from backed to UI as part of page (JIRA backend makes this decision at com.atlassian.jira.user.flag.FlagDismissalServiceImpl ):

      WRM._unparsedData["com.atlassian.jira.jira-header-plugin:dismissedFlags.flags"]="{\"dismissed\":[\"com.atlassian.jira.reindex.required\",\"com.atlassian.jira.baseurl\",\"com.atlassian.jira.tzdetect.-21600000,-18000000\"]}";
      

            Unassigned Unassigned
            ayakovlev@atlassian.com Andriy Yakovlev [Atlassian]
            Votes:
            74 Vote for this issue
            Watchers:
            47 Start watching this issue

              Created:
              Updated: