Need to set a custom error message when Inactive users tries to login JIRA.

Hi All,

I have made an user inactive and when he tries to login JIRA it throws the error message as below,

Error : "Sorry, your username and password are incorrect - please try again."

My requirement is that I need to display some other error message like "Your AMC has expired."


Is it possible? if yes, Please guide me how to do this..


Thanks in advance.

2 answers

0 vote

You'll need to edit the core code that provides this message - it's pretty much hard-coded.  Also, I'm not sure that the page actually gets the "why you can't log in" information in that detail - it might not be told whether the user has been disabled, been locked out, doesn't exist etc

0 vote
Joe Pitt Community Champion Jun 17, 2016

I agree with Nic, especially about getting the correct info. You'd need to look at the code that actually does the credential validation and see what it does. I suspect you'd need to do some major recoding in several modules to get what you want. A simpler option would be to modify the message and add something like 'if you think you received this message in error please contact the JIRA administrator at...'

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

184 views 1 11
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you