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

Updating the Look and Feel through the jira-config.properties doesn't work

      Issue Summary

      As per Advanced Jira application configuration, default values for Jira's available advanced configuration options are stored the jpm.xml file, and the jira-config.properties should be used to override those values. However, the values for the look and feel in Jira are not changed accordingly in the interface after applying them to jira-config.properties.

      Steps to Reproduce

      1. In a fresh Jira installation (without modifications to the look and feel), add a jira-config.properties file to the Jira Home folder.
      2. Add the following line:
        jira.lf.top.bgcolour=#ffffff
        
      3. And restart Jira

      Expected Results

      The Header Background Colour would be white as defined in the jira-config.properties file (which would change the default color for this property, which would then be possible to override through the UI).

      Actual Results

      There is no change in the colour. However, the Header Background Colour shows #ffffff in the Look and Feel page.

      Workaround

      • Manually change the colour in the Look and Feel page

            [JRASERVER-69876] Updating the Look and Feel through the jira-config.properties doesn't work

            Hello mdoar2

            may be I am not sure what file level cache has to be cleared, if you know where and what file so that i can try clear and check.

            if it is cache issue, in that case how come everything is working as we expect when we change it from UI.

            jagan.kattaru added a comment - Hello  mdoar2 may be I am not sure what file level cache has to be cleared, if you know where and what file so that i can try clear and check. if it is cache issue, in that case how come everything is working as we expect when we change it from UI.

            Matt Doar added a comment -

            Is there some file-level cache that needs to be cleared?

            Matt Doar added a comment - Is there some file-level cache that needs to be cleared?

            Hello Matheus Fernandes,

            We are also facing exact issue in out environments as well and we are currently running Jira version is 8.5.0

            I have tried two ways to update color for jira.lf.top.bgcolour property as below description,

            First Way:

            1. First stopped the Jira service.
            2. then updated the color value in jira-config.properties file with below parameter,

                       jira.lf.top.bgcolour = #ff8b00

                   3.  Restarted the Jira service but still the application value for the look and feel in Jira are not changed which is updated in the jira-config.properties even after start the Jira service.

                   4. I have checked that jpm.xml but it still points to older color only not with updated value which is updated in the jira-config.properties file.

            Second Way:

            1. and even I have updated the color value directly in the database level but still the the application value for the look and feel in Jira are not changed with below command.

                    UPDATE propertystring SET propertyvalue='#ff8b00' where id=(select id from propertyentry where property_key='jira.lf.top.bgcolour');

             

            could you please let us know if there any atlternative solution other than changing it from UI?

            if not when can we expect to resolve the issue?

            jagan.kattaru added a comment - Hello Matheus Fernandes, We are also facing exact issue in out environments as well and we are currently running Jira version is 8.5.0 I have tried two ways to update color for jira.lf.top.bgcolour property as below description, First Way: First stopped the Jira service. then updated the color value in  jira-config.properties file with below parameter,            jira.lf.top.bgcolour = #ff8b00        3.  Restarted the Jira service but still the application value for the look and feel in Jira are not changed which is updated in the  jira-config.properties even after start the Jira service.        4. I have checked that jpm.xml but it still points to older color only not with updated value which is updated in the  jira-config.properties file. Second Way: and even I have updated the color value directly in the database level but still the the application value for the look and feel in Jira are not changed with below command.         UPDATE propertystring SET propertyvalue='#ff8b00' where id=(select id from propertyentry where property_key='jira.lf.top.bgcolour');   could you please let us know if there any atlternative solution other than changing it from UI? if not when can we expect to resolve the issue?

            SK1975 added a comment - - edited

            Cannot believe that this bug was opened yesterday!

            I can confirm that it also affecting Jira Server 8.3.2!

            Regarding Severity of the bug ..should be at least MAJOR!

            SK1975 added a comment - - edited Cannot believe that this bug was opened yesterday! I can confirm that it also affecting Jira Server 8.3.2! Regarding Severity of the bug ..should be at least MAJOR!

              Unassigned Unassigned
              mfernandes@atlassian.com Matheus Fernandes
              Affected customers:
              15 This affects my team
              Watchers:
              15 Start watching this issue

                Created:
                Updated: