1. Navigate to JIRA > Administration > Add-ons.

2. Open the Application Links section.

3. Enter address of TeamCity instance and click Create new link.

If you see the form with notification about invalid URL address, just skip it by clicking Continue.

4. After verification of TeamCity instance, the Link Applications form is displayed. 

5. In the Link Applications form, specify the following information:

6. Leave all the other parameters without any changes.

7. Click Continue.

8. A new application link will appear on the list with available application links.

9. Click the Edit link to modify access parameters.

10. In the opened Configure Parameters form, switch to Outgoing Authentication.

11. Here enter credentials of TeamCity account with assigned Project Viewer and Agent Manager roles.

12. Click Enable.

13. Close the form.