How to setup Jira Align Self-Hosted with custom SQL port

Still need help?

The Atlassian Community is here for you.

Ask the community

Summary

This article describes on how to verify whether SQL server is using a default port 1433 or a custom port and how to configure Jira Align Self-Hosted with a custom SQL Port

Environment

Jira Align Self-Hosted

Solution

Step 1: Verify and determine if SQL is using the default port or custom port.

Step 2: Confirm that connection can be established using the custom SQL port via SQL Server Management Studio to Jira Align Database using the Server Name as <SQL_Server_Name>,<custom_port>

  • Example Screenshot:

Step 3: 

  • SQL Server name is defined under three files during the installation process:
    • For Web Application - <Install_Drive>:\<JA_customer_name>\_Cust\web.config
    • For each connector, <Install_Drive>:\<JA_customer_name>\<Jira_x>\AgileCraft_Jira.exe.config
    • For Backoffice Service prior to 10.130:  <Install_Drive>:\<JA_customer_name>\BackofficeService\AgileCraft.Backbone.exe.config
    • For BackOffice Service for 10.130 and above: <Install_Drive>:\<JA_customer_name>\BackofficeService\AgileCraft.Backbone.dll.config
  • In the above files, define the SQL server name in the SQL connection String as Data Source=<SQL_Server>,<custom_port>
    • Example Syntax

      <add name="Main" connectionString="Data Source=<SERVERNAME>,<custom_port>;Initial Catalog=<JA_DB>;Integrated Security=False;User Id=<SQL_admin>;Password=<SQL_pwd>;MultipleActiveResultSets=True;Encrypt=yes;TrustServerCertificate=True;" />

    • Example based on the above screenshot:

      <add name="Main" connectionString="Data Source=EC2AMAZ-32CB98R,7655;Initial Catalog=ABCCORP;Integrated Security=False;User Id=sa;Password=12345678;MultipleActiveResultSets=True;Encrypt=yes;TrustServerCertificate=True;" />

Related Articles



Last modified on Jun 5, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.