Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Customize login error popup message

manoj reddy gajjala
June 23, 2020

Hi Folks,

We want to customize login error popup message for existing users whose license got revoked for infrequent access.

Is there a way I can customize this.

JIRA version-8.5.3(Enterprise Release)

Please Assist.

 

Thank you!!

Manoj

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 25, 2020

Hello @manoj reddy gajjala

Thank you for reaching out.

You can change the details and messages returned in the login gadget of Jira by manually edit its source files. You can follow the steps below to know how you can do it:

Customize the login gadget in Jira server

Basically, the steps would be:

  1. For JIRA 6.4 and above, the plugin file will be in the <jira-install>/atlassian-jira/WEB-INF/atlassian-bundled-plugins/ folder.
  2. Create a temporary folder and extract the jira-gadgets-plugin-<version>.jar file there:

    jar xf jira-gadgets-plugin-6.4.13.jar
  3. Until JIRA 6.4, you can modify the login.xml and login-gadget.soy files. For JIRA 7, the file to be modified is only login.soy.
  4. Create a new JAR container after modifying the files and name it the same as the original JAR file (e.g. jira-gadgets-plugin-<version>.jar). 

    jar cvfm jira-gadgets-plugin-6.4.13.jar META-INF/MANIFEST.MF ./*
  5. Restart JIRA.

P.S: The same error message could be returned in multiple scenarios, not only when the license got revoked for infrequent access. That being said, be aware that this change might affect other login problems as well.

(warning) Always remember to backup the files you modify so you can rollback in case anything goes wrong in the process.

Let us know if you have any questions.

manoj reddy
June 26, 2020

Hi @Petter Gonçalves ,

 

Thanks for your reply.

Our JIRA version is 8.5.3 and we aren't able to find login.soy.

 

image.png

 

Best Regards,

Manoj

Suggest an answer

Log in or Sign up to answer