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

This widget could not be displayed.

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

This widget could not be displayed.
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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

206 views 1 3
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