How to configure 2-step verification in Mail configuration in Jira Server.

THIS IS FOR INTERNAL PURPOSE ONLY

 

  1. First, you must add the SMTP Mail Server configuration to your Jira Server. It should look like the following: add your Gmail address in the From address and Email prefix.

 

After that, if your Test connection is not working, follow these steps.

 

Important: To create an app password, you need 2-step Verification on your Google Account.

If you use 2-Step Verification and get a "password incorrect" error when you sign in, you can try to use an app password.

 

  1. Go to your Google Account.

  2. Select Security.

  3. Under "Signing in to Google," select 2-Step Verification.

  4. At the bottom of the page, select App passwords.

  5. Enter a name that helps you remember where to use the app password.

  6. Select Generate.

  7. To enter the app password, follow the instructions on your screen. The app password is the 16-character code that is generated on your device.

  8. Select Done.

Create use app passwords and create a unique 16-digit pass that you will copy and paste to your outgoing mail in data Centre settings :

 

  1. Go to your Email configuration in Jira and now use and copy the generated 16-character password in the password below.

     

  2. Now if you make a test connection, it should be successful!

 

Now you should be able to send an email to a Gmail account using, for example, the Power Action application or any other apps that send emails inside Jira.

 

These are the proper settings for SMTP Mail Server configuration :