How to get JIRA to ask Crowd to email password reset link?

Hiya,

Basically, I want JIRA's "forgot password" link to ask crowd to send the user a reset link - which I see at ttps://developer.atlassian.com/display/CROWDDEV/Crowd+REST+Resources should be possible with

POST /user/mail/password?username=USERNAME

My question, thus, would be which file to edit in order to make that call instead of JIRA's built-in ResetPassword page.

Best regards,

Sune Mølgaard

2 answers

1 accepted

you may take a look at

$JIRA_INSTALL/atlassian-jira/includes/loginform.jsp (check for more dependencies there)

not 100% sure but this should be a good starting point

also keep in mind...on every version update you will need to re-edit the files you modify

according to your last comment...it seems you didn't check the file i mentioned.

"Can't access your account" links to http(s)://your_jira_install/secure/ForgotLoginDetails.jspa

a simple grep command shows this result:

./atlassian-jira/includes/loginform.jsp: <page:param name="cancelLinkURI"><ww:url value="'/secure/ForgotLoginDetails.jspa'" atltoken="false"/></page:param>

Sorry, I didn't see you answer right away - my bad.

I am indeed looking at the file you specified right now, and it looks like it would do the trick.

As for read/write access, that decision is not mine to make, but it's a good point that you mention it.

why don't you give r/w to the jira application in crowd?

you could add/delete/edit users from jira and all changes will be synced to crowd...no need to edit any source files from jira

One thing - this seems to work just fine for the login page. The normal start screen, however, is a dashboard with a login gadget - I cannot seem to find a way to edit the link for that...

Any ideas?

sorry no...the gadget is a little bit different.

but it's possible to route all users to the login form by adding a little jscript to the announcement banner.

https://answers.atlassian.com/questions/108042/jira-login-page/118770

It would seem that read/write is indeed an option in this case, but it's nice to know what our options would have been if that hadn't been the case.

Thank you very much for your time!

Come to think of it, simply replacing the "Cannot login?" link with the password reset page in Crowd, might be more desirable. Where would I go about making such changes?

Best regards,

Sune

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,331 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot