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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

799 views 2 19
Join discussion

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