Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to modify or add our custom message in Jira login page.

Hi,

I have a requirement to edit/modify the default message in Jira whenever some enter the wrong username/password. There is by default message "Sorry-your username and password are incorrect - please try again", so basically we want to add our custom message with "hyperlink" below the default message. 
Please let me know if this is possible and how can we achieve this.error message.PNG

1 answer

1 accepted

1 vote
Answer accepted

Hello Manu,

Details on customizing the login gadget can be found here:

Noting this KB is formatted for jira 6.4 and earlier installation for step 3 in the files to alter, but the main details on kb are the unpacking and repackaging the file.

The Error message you are looking for is located in the *i18n.properties* at the file path of the unpackaged jar, in a  jira 7+ installation under:

  • com/atlassian/jira/gadgets/i18n.properties

Tracking this down can be seen in the error call made in the login-gadget.soy file mentioned in the KB

Change the following property to the desired value:

gadget.login.invalidlogin=Sorry, your username and password are incorrect - please try again.

Repackage the .jar package as described in the KB above, and replace the original jar and you should be all set

Thanks @Earl McCutcheon this was very helpful.

Like Earl McCutcheon likes this

Hi @Earl McCutcheon ,
I had unpackaged the jar file, but couldn't found i18n.properties file, My jira version is 8.18. 

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you