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 votes

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 votes
Joseph 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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,820 views 18 22
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